You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I enable nativeAnimations and add useNativeDriver: true to the config object of the Animated.spring() and Animated.timing() functions, then the cards will flicker while swiping.
I think the problem is explained here. However I was not able to come up with a workaround. Do you have any ideas?
FYI: Animated.decay() does not yet support native animations, so I left it as it is. However I set a new animated value in the callback of Animated.spring() in the onPanResponderRelease method like below in order to avoid the app to crash in certain edge cases.
If I enable nativeAnimations and add
useNativeDriver: true
to the config object of theAnimated.spring()
andAnimated.timing()
functions, then the cards will flicker while swiping.I think the problem is explained here. However I was not able to come up with a workaround. Do you have any ideas?
FYI:
Animated.decay()
does not yet support native animations, so I left it as it is. However I set a new animated value in the callback ofAnimated.spring()
in theonPanResponderRelease
method like below in order to avoid the app to crash in certain edge cases.The text was updated successfully, but these errors were encountered: