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 0e1e205 commit 0a5ffdaCopy full SHA for 0a5ffda
Libraries/Animated/src/nodes/AnimatedValue.js
@@ -175,6 +175,13 @@ class AnimatedValue extends AnimatedWithChildren {
175
resetAnimation(callback?: ?(value: number) => void): void {
176
this.stopAnimation(callback);
177
this._value = this._startingValue;
178
+ // TODO(macOS ISS#2323203): A bug fix that hasn't been merged to upstream yet.
179
+ if (this.__isNative) {
180
+ NativeAnimatedAPI.setAnimatedNodeValue(
181
+ this.__getNativeTag(),
182
+ this._startingValue,
183
+ );
184
+ }
185
}
186
187
_onAnimatedValueUpdateReceived(value: number): void {
0 commit comments