react-native-gesture-handler icon indicating copy to clipboard operation
react-native-gesture-handler copied to clipboard

Values with native driver not set correctly when chaining pan gesture event with decay animation

Open louispvb opened this issue 8 years ago • 1 comments

When I try to run an Animated.decay on a value using the native driver after a pan gesture has acted on it, the animated value is not set correctly causing a view to jump.

I've created a demonstration here: https://snack.expo.io/BkqYD9Kb7

When running on iOS, if you drag the red circle and let the kinetic sliding animation finish, the next touch will pan it correctly, but when letting go the red circle jumps erratically. The blue circle running the JS driver does not have this issue.

louispvb avatar Jun 21 '18 21:06 louispvb

To be honest I'm not sure that even JS example is working as intended.

Screen Recording 2020-11-26 at 17 38 02

It also jumps around.

Also given that the issue is more than two years old I'll close it.

If you want to reopen this please respond.

jgonet avatar Nov 26 '20 16:11 jgonet