react-native/Libraries/Animated/src
Ranjan Shrestha 1afee0bc0e Native Animated - Override __makeNative in AnimatedInterpolation
Summary:
Fixes the error `Trying to update interpolation node that has not been
attached to the parent` in android which occurs when using multiple
Animated.Values along with interpolation and an animation is run before
another one that uses interpolation. On ios, no error is thrown in such
case but the animation also doesn't work as expected.

You can check the snack code here which works properly without
useNativeDriver: true. But fails on android and skips the first stage
of animation on ios.
  https://snack.expo.io/HyD3zdjSZ

**Test Plan**
The animations worked properly after the __makeNative override made
the parent node native as well.

<!--
Thank you for sending the PR!

If you changed any code, please provide us with clear instructions on how you verified your changes work. In other words, a test plan is *required*. Bonus points for screenshots and videos!

Please read the Contribution Guidelines at https://github.com/facebook/react-native/blob/master/CONTRIBUTING.md to learn more about contributing to React Native.

Happy contributing!
-->
Closes https://github.com/facebook/react-native/pull/15077

Differential Revision: D5449066

Pulled By: shergin

fbshipit-source-id: 2f0b6ea712a0ab12c1c545514a3686a9a6aeebed
2017-07-18 18:02:22 -07:00
..
__tests__ remove disableAutomock from jest tests (new default) @bypass-lint 2017-06-13 15:04:09 -07:00
polyfills Initial web implementation 2015-09-22 11:58:37 -07:00
Animated.js Implement sticky headers in JS using Native Animated 2017-03-02 15:15:31 -08:00
AnimatedImplementation.js Native Animated - Override __makeNative in AnimatedInterpolation 2017-07-18 18:02:22 -07:00
AnimatedWeb.js Add @providesModule annotations 2017-02-27 14:04:56 -08:00
Easing.js Clean up Animated docs 2017-02-17 14:48:17 -08:00
Interpolation.js Fix the suppress comment regex for react_native 2017-01-19 10:28:28 -08:00
NativeAnimatedHelper.js Native Animated - Support multiple events attached to the same prop 2017-03-09 15:30:28 -08:00
SpringConfig.js Initial web implementation 2015-09-22 11:58:37 -07:00
bezier.js RN: Cleanup OSS JS & Flow Declarations 2016-11-20 17:58:29 -08:00