diff --git a/Libraries/CustomComponents/NavigationExperimental/NavigationCardStack.js b/Libraries/CustomComponents/NavigationExperimental/NavigationCardStack.js index 28032f94f..f75bb6cd2 100644 --- a/Libraries/CustomComponents/NavigationExperimental/NavigationCardStack.js +++ b/Libraries/CustomComponents/NavigationExperimental/NavigationCardStack.js @@ -32,7 +32,6 @@ */ 'use strict'; -const NativeAnimatedModule = require('NativeModules').NativeAnimatedModule; const NavigationCard = require('NavigationCard'); const NavigationCardStackPanResponder = require('NavigationCardStackPanResponder'); const NavigationCardStackStyleInterpolator = require('NavigationCardStackStyleInterpolator'); @@ -221,16 +220,7 @@ class NavigationCardStack extends React.Component { _configureTransition = () => { const isVertical = this.props.direction === 'vertical'; const animationConfig = {}; - if ( - !!NativeAnimatedModule - - // Gestures do not work with the current iteration of native animation - // driving. When gestures are disabled, we can drive natively. - && !this.props.enableGestures - - // Native animation support also depends on the transforms used: - && NavigationCardStackStyleInterpolator.canUseNativeDriver(isVertical) - ) { + if (NavigationCardStackStyleInterpolator.canUseNativeDriver(isVertical)) { animationConfig.useNativeDriver = true; } return animationConfig;