Quick start
RNGH3 offers a straightforward way to add gestures to your app. Simply wrap your target view with the GestureDetector component, define your gesture, and pass it in. That’s it!
Troubleshooting
Troubleshooting
Testing with Jest
Setup
Custom swipeable components inside ScrollView (web)
While we recommend using our own ReanimatedSwipeable component, creating your own version of swipeable gives you more control over its behavior. A common issue here is that after creating your own swipeable component, scroll does not work. In that case, try adding touchAction set to "pan-y", like this:
Transforming a view
Combining Pan, Pinch and Rotation on a single view — the "photo viewer" interaction where you can drag, zoom and twist an image at the same time — is a common use case. Gesture Handler doesn't ship a dedicated component for it, but you can build it yourself on top of the existing gestures. There are two ideas that make it work; the rest is wiring.
Upgrading to the new API introduced in Gesture Handler 3
Migrating gestures