Upgrading to the new API introduced in Gesture Handler 3
To make the migration process easier, we have prepared a SKILL that will help your AI assistant to automatically migrate your codebase to the new API.
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.