Tap, Pan, Pinch Composed Gesture #3208
Replies: 2 comments 2 replies
-
For my library, I do it like this: const composedTap = Gesture.Exclusive(doubleTap, tap);
const composedGesture = Gesture.Race(pinch, pan, composedTap); |
Beta Was this translation helpful? Give feedback.
1 reply
-
Hi @nagamanikandank! Could you share a snippet of how do you define those gestures? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I need to detect, Tap, Pinch & Zoom .
This is my
composed
settingconst composed = Gesture.Exclusive(tap, Gesture.Race(pinch,pan));
When I Tap, only Tap gets detected
When I Pan, only Pan gets detected.
But, when I Pinch, both Pan and Pinch gets detected.
How can I make only Pinch get detected ?
Beta Was this translation helpful? Give feedback.
All reactions