Declarative API exposing platform native touch and gesture system to React Native.
Permalink
Failed to load latest commit information.
AndroidNativeExample Use ViewConfiguration.getScaledTouchSlop as a default value for min d… Sep 13, 2017
Example Update GmailStyleSwipeableRow.js (#278) Aug 21, 2018
__tests__ Initial commit Oct 27, 2016
android Add extra fields to long press, fling and tap event payload on Android ( Sep 11, 2018
docs Add extra fields to long press, fling and tap event payload on Android ( Sep 11, 2018
ios Add support for hitSlop on buttons on iOS (#283) Sep 10, 2018
website Updated resources link on help page (#272) Aug 14, 2018
.babelrc Initial commit Oct 27, 2016
.buckconfig Initial commit Oct 27, 2016
.flowconfig Fix Flow types Nov 12, 2017
.gitignore Documentation (#166) May 15, 2018
.gitignore-example-from-docusaurus Documentation (#166) May 15, 2018
.npmignore Rotation and Pinch for android. Jun 30, 2017
.watchmanconfig Initial commit Oct 27, 2016
DrawerLayout.js Issue #155 - Add possibility for DrawerLayout's child to be a render … Jul 10, 2018
GestureHandler.js Filter animated events in config (#287) Sep 12, 2018
LICENSE Add license + update readme + fix package.json + bump version. Oct 27, 2016
README.md [README] Show logo (#242) Jul 9, 2018
Swipeable.js Issue #251 - Swipeble openLeft / openRight (#254) Jul 17, 2018
gestureHandlerRootHOC.android.js Allow again for the root view to be created from JS on android. (#245) Jul 9, 2018
gestureHandlerRootHOC.ios.js Trying out new approach for installing root view on Android Nov 23, 2017
package.json Filter animated events in config (#287) Sep 12, 2018
react-native-gesture-handler.d.ts Add `activeOpacity` definition to RectButtonProperties (#288) Sep 13, 2018
yarn.lock Filter animated events in config (#287) Sep 12, 2018

README.md

React Native Gesture Handler

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://kmagiera.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

Then 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.

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