We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab3d356 commit aa57a1bCopy full SHA for aa57a1b
Libraries/Animated/src/nodes/AnimatedValue.js
@@ -178,6 +178,13 @@ class AnimatedValue extends AnimatedWithChildren {
178
resetAnimation(callback?: ?(value: number) => void): void {
179
this.stopAnimation(callback);
180
this._value = this._startingValue;
181
+ // TODO(macOS ISS#2323203): A bug fix that hasn't been merged to upstream yet.
182
+ if (this.__isNative) {
183
+ NativeAnimatedAPI.setAnimatedNodeValue(
184
+ this.__getNativeTag(),
185
+ this._startingValue,
186
+ );
187
+ }
188
}
189
190
_onAnimatedValueUpdateReceived(value: number): void {
0 commit comments