Skip to content

Commit 9b38100

Browse files
committed
Fix: revert useNativeDriver to true
`false` is causing noticeable artifacts/performance issues on a physical phone
1 parent 1c6195c commit 9b38100

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/power-action-sheet.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class PowerActionSheet extends Component {
7272
{
7373
toValue: 1,
7474
duration: 250,
75-
useNativeDriver: false
75+
useNativeDriver: true
7676
}
7777
).start();
7878
};
@@ -85,7 +85,7 @@ class PowerActionSheet extends Component {
8585
Animated.timing( this.state.overlayOpacity, {
8686
toValue: 0,
8787
duration: easeInEaseOut.duration,
88-
useNativeDriver: false
88+
useNativeDriver: true
8989
} ).start( async () => {
9090
await this._promiseState( { stage: Stage.closed, insets: null } );
9191
await this._promiseState( { visible: false, result } );

0 commit comments

Comments
 (0)