Skip to content

Commit

Permalink
Set useNativeDriver to false explicitly in animation
Browse files Browse the repository at this point in the history
  • Loading branch information
prabhu43 committed Apr 19, 2020
1 parent ad8c7e5 commit c16e5eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ActionButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ const ActionButton = props => {
if (active) return reset(animate);

if (animate) {
Animated.spring(anim.current, { toValue: 1 }).start();
Animated.spring(anim.current, { toValue: 1, useNativeDriver: false }).start();
} else {
anim.current.setValue(1);
}
Expand Down

0 comments on commit c16e5eb

Please sign in to comment.