Skip to content

Commit c16e5eb

Browse files
committed
Set useNativeDriver to false explicitly in animation
1 parent ad8c7e5 commit c16e5eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: ActionButton.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ const ActionButton = props => {
254254
if (active) return reset(animate);
255255

256256
if (animate) {
257-
Animated.spring(anim.current, { toValue: 1 }).start();
257+
Animated.spring(anim.current, { toValue: 1, useNativeDriver: false }).start();
258258
} else {
259259
anim.current.setValue(1);
260260
}

0 commit comments

Comments
 (0)