react-native/Libraries/CustomComponents/NavigationExperimental
Eric Vicenti f9779e3eb7 Enable native animations when possible
Summary:
The `position` animated value is used for scale, translateX, and tranlateY
animations, which are all supported by NativeAnimatedHelper. Unfortunately,
native animations are incompatible with JS driven animations, which the
`enableGestures` flag enables.

This diff therefore conditionally enables native animations based on the native
module's precense, and the state of `enableGestures`.

Ideally the animations would be refactored so that they could fully leverage
native animations, as they are far superior for navigational components.

Reviewed By: oyvindkinsey

Differential Revision: D4020977

fbshipit-source-id: 8e1d015c4d41fee103469f6f9ffa02ff4f1f5517
2016-10-19 15:28:44 -07:00
..
assets Rework the NavigationHeader 2016-03-21 22:07:26 -07:00
NavigationAnimatedValueSubscription.js Implements `renderHeader` for legacy navigator. 2016-03-10 17:17:21 -08:00
NavigationCard.js Clean unused import modules. 2016-10-16 11:13:40 -07:00
NavigationCardStack.js Enable native animations when possible 2016-10-19 15:28:44 -07:00
NavigationCardStackPanResponder.js Cleanup: Remove `@typechecks` 2016-10-12 19:28:42 -07:00
NavigationCardStackStyleInterpolator.js Enable native animations when possible 2016-10-19 15:28:44 -07:00
NavigationHeader.js Cleanup: Prefer `React.Element` over `React$?Element` 2016-10-14 08:59:37 -07:00
NavigationHeaderBackButton.js Provide RTL support in NavigationCardStack 2016-08-19 08:43:39 -07:00
NavigationHeaderStyleInterpolator.js Provide RTL support in NavigationCardStack 2016-08-19 08:43:39 -07:00
NavigationHeaderTitle.js Reverted commit D4027388 2016-10-16 04:13:42 -07:00
NavigationPagerPanResponder.js Cleanup: Remove `@typechecks` 2016-10-12 19:28:42 -07:00
NavigationPagerStyleInterpolator.js Provide RTL support for new Navigator -- Make RTL works in NUX 2016-07-11 20:58:32 -07:00
NavigationPointerEventsContainer.js Reverted commit D4027388 2016-10-16 04:13:42 -07:00