shahen94 / react-native-video-processing

Native Video editing/trimming/compressing :movie_camera: library for React-Native
https://shahen94.github.io/react-native-video-processing/
MIT License
1.25k stars 326 forks source link

Use NativeDriver Warning in Trimmer Component #291

Open relivework opened 4 years ago

relivework commented 4 years ago

Current Behavior

Expected Behavior

Your Environment

software version
react-native-video-processing
react-native
node

Fix this warning by Adding: "{ useNativeDriver: false }" in Trimmer Component Animated.evnet() func.

Animated.event( [{ nativeEvent: { contentOffset: { y: this.state.animatedValue } } }], { useNativeDriver: false } // <-- Add this )

------------------++++-----------------

Fix this warning