Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
R

react-native-gesture-handler

> 前端框架
Open source

Declarative API exposing platform native touch and gesture system to React Native.

6.8K stars0 likes2 views
WebsiteGitHub

About

Declarative API exposing platform native touch and gesture system to React Native.

Declarative API exposing platform native touch and gesture system to React Native.

React Native Gesture Handler provides native-driven gesture management APIs for building best possible touch-based experiences in React Native.

With this library gestures are no longer controlled by the JS responder system, but instead are recognized and tracked in the UI thread. It makes touch interactions and gesture tracking not only smooth, but also dependable and deterministic.

Installation

Check getting started section of our docs for the detailed installation instructions.

Documentation

Check out our dedicated documentation page for info about this library, API reference and more: https://docs.swmansion.com/react-native-gesture-handler/docs/

Examples

If you want to play with the API but don't feel like trying it on a real app, you can run the example project. Clone the repo, go to the example folder and run:

bash
yarn install

Run yarn start to start the metro bundler

Run yarn android or yarn ios (depending on which platform you want to run the example app on).

You will need to have an Android or iOS device or emulator connected.

React Native Support

react-native-gesture-handler supports the three latest minor releases of react-native.

Gesture Handler 3

Check out our compatibility table in documentation.

[!IMPORTANT] Minimal supported react-native version for Gesture Handler 3 is 0.82

Gesture Handler 2

version react-native version
2.32.0+ 0.84.0+
2.28.0+ 0.79.0+
2.26.0+ 0.78.0+
2.25.0+ 0.76.0+
2.24.0+ 0.75.0+
2.21.0+ 0.74.0+
2.18.0+ 0.73.0+
2.16.0+ 0.68.0+
2.14.0+ 0.67.0+
2.10.0+ 0.64.0+
2.0.0+ 0.63.0+

It may be possible to use newer versions of react-native-gesture-handler on React Native with version <= 0.59 by reverse Jetifying. Read more on that here https://github.com/mikehardy/jetifier#to-reverse-jetify--convert-node_modules-dependencies-to-support-libraries

License

Gesture handler library is licensed under The MIT License.

Community Discord

Join the Software Mansion Community Discord to chat about Gesture Handler or other Software Mansion libraries.

Gesture Handler is created by Software Mansion

Since 2012 Software Mansion is a software agency with experience in building web and mobile apps. We are Core React Native Contributors and experts in dealing with all kinds of React Native issues. We can help you build your next dream product – Hire us.

Issues· 28 open

View all issuesOpen on GitHub
  • #4539

    [Android] Crash: NullPointerException in GestureHandler.isWithinBounds

    Missing infoPlatform: AndroidMissing reproUpdated Sep 23, 2026
  • #4496

    [iOS ≤ 18] RN Pressable inside RNGH FlatList/ScrollView never fires onPress when a Reanimated :active pseudo-selector is attached (touch is cancelled)

    Platform: iOSClose when staleUpdated Sep 15, 2026
  • #4515

    Expose native visual pressed state for custom animations inside scroll views

    Platform: AndroidUpdated Sep 14, 2026
  • #4241

    [v3] SIGABRT crash: Yoga layout assertion failure when dynamically adding ReanimatedSwipeable rows alongside BottomSheet (Fabric)

    Platform: AndroidPlatform: iOSRepro providedUpdated Aug 19, 2026
  • #4013

    Fatal Exception: RCTFatalException: Unhandled JS Exception: Error: Unsupported top level event type "onGestureHandlerStateChange" dispatched

    Platform: iOSMissing reproUpdated Mar 4, 2026
  • #3344

    Slow FlatList render when list item contains Swipeable

    Platform: AndroidPlatform: iOSRepro providedUpdated Jul 9, 2025
  • #2616

    It's hard to understand how to compose gestures with ScrollView

    Platform: AndroidMissing reproUpdated May 10, 2025
  • #2622

    Support multi-touch behaviour with panning and scrolling

    Feature requestPlatform: WebPlatform: iOSRepro providedUpdated Jan 4, 2025
  • #3266

    requireExternalGestureToFail is not able to block a ScrollView

    Platform: iOSRepro providedUpdated Dec 10, 2024
  • #3048

    Gesture.Tap() behaving weirdly, one finger needs to be on screen to receive onStart and onEnd events

    Platform: AndroidPlatform: iOSRepro providedUpdated Nov 25, 2024

> Tags

TypeScriptgesturejavascriptreact-native

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 23, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架