mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
07697d15cc
Summary:Currently there?s an inconsistency between the animations used in `NavigationAnimatedView` (`spring`) and those in `NavigationCardStack` (`timing`), which is noticeable when switching between the two implementations. By removing the `_applyAnimation` method, the `NavigationAnimatedView` will simply use its [default `applyAnimation`](https://github.com/facebook/react-native/blob/6c22a2174e733d536a12f47a2da4f84329ac3023/Libraries/NavigationExperimental/NavigationAnimatedView.js#L56-L67), making the animation styles the same. **Before** (with `Animated.timing`) Video: http://quick.as/Yexku8DdJ **After** (with the default `NavigationAnimatedView` animations) Video: http://quick.as/qrqbsnj8n Closes https://github.com/facebook/react-native/pull/6636 Differential Revision: D3094638 Pulled By: ericvicenti fb-gh-sync-id: 6e1c7c54b4ef102c4003719381d334d2c6f7a531 shipit-source-id: 6e1c7c54b4ef102c4003719381d334d2c6f7a531