diff --git a/src/ParallaxScrollView.js b/src/ParallaxScrollView.js index ba115f3..d639dfd 100644 --- a/src/ParallaxScrollView.js +++ b/src/ParallaxScrollView.js @@ -297,7 +297,9 @@ export default class ParallaxScrollView extends Component { style={styles.scrollView} onScroll={Animated.event([ { nativeEvent: { contentOffset: { y: this.state.scrollY } } } - ])} + ], + { useNativeDriver: true} + )} scrollEventThrottle={16} > {this.renderHeaderView()}