Limit drag only in y-axis
jose920405 opened this issue · comments
I want apply drag to element but only move it up and down. It's possible.
You can add validate dx
inside onPanResponderMove
Hi, sorry for the long response.
I added this options in new 2.0.2 version.
So now you can use this example:
<Gestures
draggable={{
x: false,
y: true,
}}
/>