Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make sure that AnimatedTracking is started when CompositeAnimation.st…
…art is called Summary: In Animated, when a toValue of AnimatedValue (as opposed to a number) is passed in, the [AnimatedValue starts tracking via AnimatedTracking](https://www.internalfb.com/code/fbsource/[b688f3747a706236fce300636978ed1ca5e4081a]/xplat/js/react-native-github/Libraries/Animated/AnimatedImplementation.js?lines=142) but it doesn't actually start animating even if start() is called on the animation. This behavior is inconsistent with a toValue of a number, which executes immediately on start(). This diff adds a call to AnimatedTracking.update within AnimatedValue.track, which starts the tracking animation. Changelog: [General][Fixed] - Fixes execution of animation when a toValue of AnimatedValue is used. Reviewed By: JoshuaGross Differential Revision: D33800373 fbshipit-source-id: 85ee6f51bc2bb2e078b586b076a8d1dfe92c1155
- Loading branch information