In Pan gesture handler if i use event.native.x in onGestureEvent then the panning is not smooth.It raises jumps.
My code is :
this.postCoverPosition = new Animated.Value(0);
this.onPostCoverGestureEvent = Animated.event(
[
{
nativeEvent: {
x: this.postCoverPosition,
},
},
],
);
I attach the gif of its also
![Uploading pangesture.gif…]()
In Pan gesture handler if i use event.native.x in onGestureEvent then the panning is not smooth.It raises jumps. My code is : this.postCoverPosition = new Animated.Value(0); this.onPostCoverGestureEvent = Animated.event( [ { nativeEvent: { x: this.postCoverPosition, }, }, ], );
I attach the gif of its also ![Uploading pangesture.gif…]()