diff --git a/lib/ActionSheetCustom.js b/lib/ActionSheetCustom.js index 7a0fc35..9ce9f8f 100644 --- a/lib/ActionSheetCustom.js +++ b/lib/ActionSheetCustom.js @@ -68,14 +68,16 @@ class ActionSheet extends React.Component { Animated.timing(this.state.sheetAnim, { toValue: 0, duration: 250, - easing: Easing.out(Easing.ease) + easing: Easing.out(Easing.ease), + useNativeDriver: true, }).start() } _hideSheet (callback) { Animated.timing(this.state.sheetAnim, { toValue: this.translateY, - duration: 200 + duration: 200, + useNativeDriver: true, }).start(callback) } @@ -181,7 +183,7 @@ class ActionSheet extends React.Component { const { visible, sheetAnim } = this.state return (