diff --git a/ActionButton.js b/ActionButton.js index ec1b9e3..630060d 100644 --- a/ActionButton.js +++ b/ActionButton.js @@ -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); } @@ -266,7 +266,7 @@ const ActionButton = props => { if (props.onReset) props.onReset(); if (animate) { - Animated.spring(anim.current, { toValue: 0 }).start(); + Animated.spring(anim.current, { toValue: 0, useNativeDriver: false }).start(); } else { anim.current.setValue(0); }