Skip to content

Commit

Permalink
Native parallel animation doesn't work
Browse files Browse the repository at this point in the history
  • Loading branch information
mxck committed Apr 2, 2020
1 parent fa84b40 commit ce2ef3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class Menu extends React.Component {
toValue: 1,
duration: this.props.animationDuration,
easing: EASING,
useNativeDriver: true,
useNativeDriver: false,
}),
]).start();
},
Expand Down Expand Up @@ -105,7 +105,7 @@ class Menu extends React.Component {
toValue: 0,
duration: this.props.animationDuration,
easing: EASING,
useNativeDriver: true,
useNativeDriver: false,
}).start(() => {
// Reset state
this.setState(
Expand Down

0 comments on commit ce2ef3a

Please sign in to comment.