react-native-gesture-handler

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

Github星跟蹤圖

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://software-mansion.github.io/react-native-gesture-handler

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:

  yarn install

If you are running on ios, run pod install in the ios folder

Run yarn start to start the metro bundler

Run react-native run-android or react-native run-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 as well as react-native-cli package installed globally.

React native Support, version, react-native version, -------, --------------------, 1.4.0+, 0.60.0+, 1.1.0+, 0.57.2+, <1.1.0, 0.50.0+, ## License

Gesture handler library is licensed under The MIT License.

Credits

This project is supported by amazing people from Expo.io and Software Mansion

expo
swm

主要指標

概覽
名稱與所有者software-mansion/react-native-gesture-handler
主編程語言TypeScript
編程語言JavaScript (語言數: 13)
平台
許可證MIT License
所有者活动
創建於2016-10-27 08:31:38
推送於2025-07-03 13:13:14
最后一次提交
發布數114
最新版本名稱2.27.1 (發布於 )
第一版名稱0.0.4 (發布於 )
用户参与
星數6.4k
關注者數62
派生數1k
提交數1.8k
已啟用問題?
問題數1458
打開的問題數45
拉請求數1540
打開的拉請求數28
關閉的拉請求數235
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?