Please sign in to comment.
Fix setAnimatedNodeValue in Native Animated on iOS
Summary: `setAnimatedNodeValue` currently does not update views if there is no animation currently running. This simply updates the view immediately instead of relying on the animation loop. Extracted it out in a function to be able to use it for native `Animated.event` too. **Test plan** Tested this in an app using native driven animations with `NavigationCardStackPanResponder` that makes use of `setValue` to update `Animated.Values` during the back gesture. Closes #10643 Differential Revision: D4106346 fbshipit-source-id: 7c639e03ded87058354340f1179f8b75be423e84
- Loading branch information...
Showing with 10 additions and 0 deletions.