react-native-lightbox icon indicating copy to clipboard operation
react-native-lightbox copied to clipboard

Add `useNativeDriver` as a configuration option

Open felixclack opened this issue 4 years ago • 2 comments

Using this library the latest version of React Native (0.63.4) raises warnings about explicitly setting useNativeDriver for the Animated functions.

I considered hardcoding the value as false for instances of Animated.event and Animated.spring to maintain the existing behaviour but felt like exposing it as an option adds very little extra complexity to the library while ensuring people can opt in to the native animations if they want.

felixclack avatar Jan 07 '21 22:01 felixclack

Please merge this to get rid of annoying warning

vqminh avatar Mar 26 '21 18:03 vqminh

There is another such annoying warning, that I fixed on the latest PR, please check on that too : ) .

rahuld600 avatar Nov 08 '21 16:11 rahuld600