react-native-action-button
react-native-action-button copied to clipboard
Set useNativeDriver to false explicitly in animation and reset
#339 - Solution: I believe that the proposal submitted earlier does not fully solve the problem presented in version 0.62 of the RN. Because it is necessary to insert useNativeDriver in the function that resets the action. https://reactnative.dev/blog/2017/02/14/using-native-driver-for-animated#how-do-i-use-this-in-my-app
If you wanted to, I imagine you could even add an optional prop for ActionButton of useNativeDriver
, which would default to false. And then use that value in the two spots you changed, rather than a hard-coded false. Idk if there are cases where people would want it to be true for this component, but just a thought.
@mastermoo or @sibelius Could you verify and merge the correction of this error?