react-native-gesture-handler

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

MIT License

Downloads
4.7M
Stars
5.8K
Committers
229

Bot releases are hidden (Show)

react-native-gesture-handler - 2.6.1

Published by j-piasecki about 2 years ago

❗ Important changes

🐛 Bug fixes

👍 Improvements

🔢 Miscellaneous

New Contributors

Full Changelog: https://github.com/software-mansion/react-native-gesture-handler/compare/2.6.0...2.6.1

react-native-gesture-handler - 2.6.0

Published by j-piasecki about 2 years ago

❗ Important changes

🐛 Bug fixes

👍 Improvements

🔢 Miscellaneous

New Contributors

Full Changelog: https://github.com/software-mansion/react-native-gesture-handler/compare/2.5.0...2.6.0

react-native-gesture-handler - 2.5.0

Published by j-piasecki over 2 years ago

❗ Important changes

🐛 Bug fixes

🔢 Miscellaneous

New Contributors

Full Changelog: https://github.com/software-mansion/react-native-gesture-handler/compare/2.4.2...2.5.0

react-native-gesture-handler - 2.2.1

Published by j-piasecki over 2 years ago

This release backports a few important changes for Expo.

❗ Important changes

react-native-gesture-handler - 2.4.2

Published by j-piasecki over 2 years ago

🐛 Bug fixes

🔢 Miscellaneous

Full Changelog: https://github.com/software-mansion/react-native-gesture-handler/compare/2.4.1...2.4.2

react-native-gesture-handler - 2.4.1

Published by j-piasecki over 2 years ago

react-native-gesture-handler - 2.4.0

Published by j-piasecki over 2 years ago

❗ Important changes

🐛 Bug fixes

🔢 Miscellaneous

New Contributors

Full Changelog: https://github.com/software-mansion/react-native-gesture-handler/compare/2.3.2...2.4.0

react-native-gesture-handler - 2.3.2

Published by j-piasecki over 2 years ago

⚠️ Breaking changes

We felt that, although it's a breaking change, this fix important enough to warrant a patch release. If you started using fireGestureHandler and getByGestureTestId methods, change their import to react-native-gesture-handler/jest-utils.

❗ Important changes

react-native-gesture-handler - 2.3.1

Published by j-piasecki over 2 years ago

🐛 Bug fixes

🙌 Thank you for your contributions!

react-native-gesture-handler - 2.3.0

Published by j-piasecki over 2 years ago

❗ Important changes

🐛 Bug fixes

👍 Improvements

🔢 Miscellaneous

react-native-gesture-handler - 2.1.3

Published by j-piasecki over 2 years ago

Use export type when exporting types (https://github.com/software-mansion/react-native-gesture-handler/pull/1791) by @j-piasecki

react-native-gesture-handler - 2.1.2

Published by j-piasecki over 2 years ago

Use path relative to the directory of Reanimated when checking its version (https://github.com/software-mansion/react-native-gesture-handler/pull/1757) by @j-piasecki

react-native-gesture-handler - 2.2.0

Published by j-piasecki almost 3 years ago

❗ Important changes

🐛 Bug fixes

react-native-gesture-handler - 2.1.1

Published by j-piasecki almost 3 years ago

react-native-gesture-handler - 2.1.0

Published by j-piasecki almost 3 years ago

Changes

  • Use common interface from Reanimated when available (#1747)
  • Add onFinalize callback (#1749)
  • Change invocation order of methods when resetting gesture recognizers (#1751)
react-native-gesture-handler - 2.0.0

Published by j-piasecki almost 3 years ago

This release marks a new milestone in Gesture Handler - we added new API that's easier to use, tidied up some cruft that accumulated over the years and fixed many longstanding bugs. Check the changelog below.

For the documentation about the new API and newly added features please check out the updated docs page at https://docs.swmansion.com/react-native-gesture-handler/

⚠️ Breaking changes

  • Adjust Swipeable's overshootFriction behavior (#1275) by @kolking
  • Fix min distance on Pan with custom activation criteria (#1696) by @j-piasecki
  • Remove deprecated props from PanGestureHandler (#1662) by @j-piasecki

❗ Important changes

  • Add new API by @j-piasecki
  • New Manual Gesture feature by @j-piasecki
  • Add duration to long press event (#1505) by @j-piasecki
  • Allow resetting properties to default value (#1444) by @jakub-gonet
  • Fix TouchableOpacity visuals (#1567) by @jakub-gonet
  • Deprecate RNGestureHandlerEnabledRootView (#1605) by @jakub-gonet
  • Fix modals (#1603) by @jakub-gonet
  • Fix tap gesture handler inconsistency (#1682) by @j-piasecki
  • Update FlingGestureHandler on iOS (#1612) by @j-piasecki
  • Update PanGestureHandler on iOS (#1611) by @j-piasecki
  • Fix LongPressGestureHandler inconsistency (#1610) by @j-piasecki

🐛 Bug fixes

  • Reset velocity when beginning pan gesture (#1694) by @j-piasecki
  • Fix gesture handlers not working when children overflow their parent (#1618) by @j-piasecki
  • Fix nested touchables on Android (#1601) by @j-piasecki

👍 Improvements

  • Expanded Jest mocks (#1364) by @TheWirv
  • Improved type definitions of Gesture Components (#1394) by @yfunk
  • Remove implicit inclusion of node types (#1420) by @jakub-gonet
  • Fix interactions between TapGH and PanGH (#1508) by @j-piasecki
  • Block touch handling when inspector is enabled (#252) by @osdnk, @jakub-gonet
  • Fix compatibilty with React 18 by @janicduplessis
  • Pass RNGH props to FlatList's underlying ScrollView (#1557) by @jakub-gonet
  • Add JSDocs (#1566) by @jakub-gonet
  • Fix buttons can get stuck on Android (#1512) by @bastiandev
  • Export SwipeableProps (#1598) by @SimonIT

🔢 Miscellaneous

  • Fix build-time warnings & add missing dependencies (#1446, #1447) by @jakub-gonet
  • Update Example app
  • Update docs by @moondef, @jakub-gonet, @jkadamczyk, @Andarius
  • Allow react-native-screens to work with Gesture Handler (#1323) by @WoLewicki
  • Fix iteration over argument mapping on web (#1504) by @machouz
  • Import UIManager directly from react-native (#1528) by @acoates-ms
  • Convert Java sources to Kotlin by @jakub-gonet
  • Adds github actions build checks (#1576) by @Ubax

🙌 Thank you for your contributions!

react-native-gesture-handler - 1.10.3

Published by jakub-gonet over 3 years ago

Patch release fixing Expo 41 support, types, and removing deprecation warning.

⌨️ Typescript

  • Move types to type exports (#1389) by @jakub-gonet
  • Fix Timeout type (#1386) by @jakub-gonet

🔢 Miscellaneous

  • Update deprecated getConstants() call (#1379) by @jarod-legault
  • Remove GestureHandlerRootView.android.expo.tsx (#1383) by @jakub-gonet

🙌 Thank you for your contributions!

react-native-gesture-handler - 1.10.2

Published by jakub-gonet over 3 years ago

Patch release fixing missing mocks problem.

🐛 Bug fixes

  • Fix mocks import in jestSetup.js (#1377) by @jakub-gonet

👍 Improvements

  • Adjust Platform constants import (#1211) by @drewandre
  • Copy Directions enum to JS (#1366) by @jakub-gonet

🔢 Miscellaneous

  • Lint unlinted files (#1362) by @jakub-gonet
  • Add Bob (#1360) by @jakub-gonet

🙌 Thank you for your contributions!

react-native-gesture-handler - 1.10.1

Published by jakub-gonet over 3 years ago

Patch release fixing most problems that came up after rewriting the library to TS.

🐛 Bug fixes

  • Move jestSetup.js to root dir (#1337) by @jakub-gonet
  • Keep same extensions on different platforms (#1351) by @jakub-gonet
  • Rename _handlerTag to handlerTag (#1357) by @jakub-gonet

⌨️ Typescript

  • Fix gestureHandlerRootHOC types (#1347) by @alpha0010
  • Use PropsWithChildren in TouchableWithoutFeedback (#1345) by @jakub-gonet
  • Replace import React with import * as React (#1346) by @jakub-gonet
  • Export all compat *Properties types (#1356) by @jakub-gonet

🙌 Thank you for your contributions!

react-native-gesture-handler - 1.10.0

Published by jakub-gonet over 3 years ago

This release includes docs wording improvements thanks to @jtalz, some bugfixes and drawer improvement. We also rewritten source code of RNGH to Typescript.

🐛 Bug fixes

  • Fix interactions with NativeViewGestureHandler (#1034) by @ShaMan123
  • Use weak reference for storing rootViews in iOS (#1217) by @Norcy
  • Disable allowedScrollTypesMask in tvOS (#1278) by @csantos1113
  • Specify minimal SDK version for enableTrackpadTwoFingerGesture (#1301) by @KenCorma

👍 Improvements

  • DrawerLayout: add onDrawerSlide() (#999) by @rorygarand
  • Add optional speed parameter to open/closeDrawer (#1133) by @jeremywho

⌨️ Typescript

  • Rewrite to TS (#1327) by @WoLewicki and @jakub-gonet

🔢 Miscellaneous

  • Organize folder structure (#1199) by @jakub-gonet
  • Lint src/ directory (#1274) by @jakub-gonet
  • Clamp swipe animation in examples (#1290) by @mhkeller

🙌 Thank you for your contributions!