-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
Area: AnimationPartner: FacebookResolution: DuplicateWill flag the issue to be closed by a bot after a 1 day grace period (label used by bot)Will flag the issue to be closed by a bot after a 1 day grace period (label used by bot)bug
Description
Problem Description
When stopping animations on an animated value, you can supply a callback that provides the current value. Currently, this value always returns the initial value on the NativeAnimated module.
Steps To Reproduce
- Add example that stops an animation and shows the value supplied to the callback, e.g., in RNTester > Native Animated Example
- Run animation and force it to stop
- Observe that the value supplied to the
stopAnimationcallback is incorrect.
Expected Results
The value supplied to the stopAnimation callback should reflect the current state of the animation.
CLI version
npx react-native --version
Environment
npx react-native infoTarget Platform Version
No response
Target Device(s)
No response
Visual Studio Version
No response
Build Configuration
No response
Snack, code example, screenshot, or link to a repository
2021-12-08.12-37-21.mp4
Metadata
Metadata
Assignees
Labels
Area: AnimationPartner: FacebookResolution: DuplicateWill flag the issue to be closed by a bot after a 1 day grace period (label used by bot)Will flag the issue to be closed by a bot after a 1 day grace period (label used by bot)bug