UseNativeDriver with PanResponder
I tried to move everything I could before useNativeDriver
. I've tried this:
onPanResponderMove: Animated.event([null, { dy:this.state.appearAnim }], { useNativeDriver:true }),
However, this throws an error:
config.onPanResponderMove is not a function
If I just installed useNativeDriver
in false
, it works as expected. Does anyone know how to use a custom driver with PanResponder?
+3
source to share
No one has answered this question yet
Check out similar questions: