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 visible (Hide)

react-native-gesture-handler -

Published by kmagiera over 5 years ago

Patch release with #443 included (fixes bind() warning)

react-native-gesture-handler -

Published by kmagiera over 5 years ago

Minor release including a number of improvements and experimental web support. This version requires react-native in version at least 0.57.2. If you can't upgrade please use 1.0.X version line where we will try to merge critical fixes too.

🎉 NEW FEATURES

  • Add exclusive touch on iOS by @osdnk (#454)
  • Add tvOS Target by @hufkens (#448)
  • Overflow hittest support for Android by @osdnk (#393)
  • web compatibility by @jaulz (#406)

🐛 BUG FIXES

  • Fix missing View import by @impaler (#449)
  • Remove unnecessary binding for component's method by @osdnk (#443)

👍 IMPROVEMENTS

  • Add types for Touchable polyfills by @oblador (#431)
  • Add containerStyle Prop by @roydigerhund (#437)
  • Add childrenContainerStyle prop by @scottmas (#461)
  • Remove WebView by @osdnk (#438)
  • Add docs for touchables by @osdnk (#442)
  • Fix duplicate link in touchables doc by @angly-cat (#470)

Starting from this version we plan on following the below methodology for version naming:

  • non breaking JS only changes will be released as patch versions
  • non breaking native changes will be release as minor versions
  • breaking changes (js or native) will be released as major versions

🙌 Thanks to all who contributed and submitted bug reports or helped with reviewing!

react-native-gesture-handler -

Published by kmagiera over 5 years ago

Patch for 1.0.15 with #438 merged in (remove use of WebView from react-native package)

react-native-gesture-handler -

Published by kmagiera over 5 years ago

🚨🚨🚨 Patch release with two critical bugs fixed on top of 1.0.14:

🐛 CRITICAL BUG FIXES

  • fix RN's touch events on Android (#427)
  • fix events registration on RN 58 (#429)

👍 IMPROVEMENTS

  • fix TouchableHighlight polyfill to handle underlayColor properly (#428)
react-native-gesture-handler -

Published by kmagiera over 5 years ago

First minor release after winter break. We merged in a lot of improvements and as #393 is nearing completion in the next release we will likely bump minor version number and drop support for RN < 0.57.2. We plan to continue merging critical fixes into 1.0 branch.

🎉 NEW FEATURES

  • expose container styles property for drawer component by @migsc (#408)
  • new overshootFriction property added to Swipeable component by @Freddy03h (#413)

🐛 BUG FIXES

  • fix cycles import warning by @osdnk (#391)
  • properly respect hitSlop for shouldCancelWhenOutside on iOS by @osdnk (#399)
  • fix ripple on Android when view background is transparent by @osdnk (#400)
  • fix rare crash caused by null parent when traversing view hierarchy on Android by @osdnk (#385)

👍 IMPROVEMENTS

  • expose native components instance methods in GH wrapped components by @janicduplessis (#398)
  • add e2e tests by @osdnk (#383)
  • updates to make GH compatible with RN 0.58 by @osdnk (#395)
  • fix xcode warnings about minimum available iOS version by @timsawtell-sportsbet (#402 and #415)
  • typos fixes by @angly-cat (#405)
  • workaround for new version metro not compiling static properties correctly by @miracle2k (#412)
  • use window size relative metrics in bottom sheet example by @vonovak (#407)
  • updates to TS definitions by @slorber (#416)

🙌 We've got an astonishing number of 10 people who contributed to this release. Thanks so much for your help in making gesture handler better. Also many thanks to everyone who submitted an issue and took part in the discussion on issues and PRs!

react-native-gesture-handler -

Published by kmagiera almost 6 years ago

Minor release with a number of bugfixes and one new big feature – ForceTouchGestureHandler (also ripple color on Android slipped in for this release)

Next release will likely drop support to RN < 0.57.2 so that we can rely on changes made in https://github.com/facebook/react-native/pull/21398 to support overflow hit testing on both platforms.

🎉 NEW FEATURES

  • ForceTouchGestureHandler by @osdnk (#374) READ DOCS HERE
  • Ripple color can be customized on Android by @osdnk (#183)

🐛 BUG FIXES

  • flow type fixes by @osdnk (#367)
  • include missing files from the npm package by @SergeShkurko

👍 IMPROVEMENTS

  • gestureHandlerRootHOC web compatibility changes by @EvanBacon (#351)
  • Move Podspec to react-native link compatible location by @gongdao123 (#366)
  • use RN's flow definition of StatusBarAnimation by @itsjgf (#365)
  • optimize DrawerLayout by avoiding setState during animation by @kmagiera (#369)
  • documentation improvements by @vonovak (#379)
  • xcode project settings updates by @osdnk (#368)
  • link example app with gesture-handler version from the root folder by @osdnk (#378)
  • numerous improvements to DrawerLayout by @brentvatne (#381)

🙌 Thanks to everyone who contributed their time reporting bugs, posting suggestions and taking part in discussions under PRs and issues!

react-native-gesture-handler -

Published by kmagiera almost 6 years ago

Minor release that includes important project level changes for compatibility with RN 0.57.

Next release will likely drop support to RN < 0.57.2 so that we can rely on changes made in https://github.com/facebook/react-native/pull/21398 to support overflow hit testing on both platforms.

🐛 BUG FIXES

  • Fix for activeOffsetY and failOffsetY by @meros (#331)
  • Gradle compatibility changes for RN 0.57 by @guix77 and @usrbowe (#345)

👍 IMPROVEMENTS

  • Add testID to TS definition by @Zycon42 (#330)
  • Remove cycle imports by @eriveltonelias (#340)
  • Gradle wrapper upgrade by @dulmandakh (#348)

🙌 Also many thanks to everyone submitting and discussing issues here – these are all valuable contributions making Gesture Handler better! 😍

react-native-gesture-handler -

Published by kmagiera almost 6 years ago

Minor release bringing some important bugfixes on top of 1.0.8 version.

Next release will likely drop support to RN < 0.57.2 so that we can rely on changes made in https://github.com/facebook/react-native/pull/21398 to support overflow hit testing on both platforms.

🐛 BUG FIXES

  • Fix reference to failOffsetY by @jlongster (#306)
  • Fix activation and cancellation criteria by @osdnk (#309)
  • Fix propagation of new native config props in onComponentUpdate by @osdnk (#322)

👍 IMPROVEMENTS

  • Improve wording in Getting Started guide by @samtheson (#318)
  • Remove dependency cycles responsible for annoying warnings during install by @osdnk (#323)

🙌 Also many thanks to everyone submitting and discussing issues here – because of you gesture handler is getting better! 😍

react-native-gesture-handler -

Published by osdnk about 6 years ago

This is a minor release which adds a series of bug fixes and improvements listed below. Among the most important change are new properties that's been added to PanGestureHandler to make activation/fail criteria even more flexible. Namely: activeOffsetX/Y and failOffsetX/Y.

Next release will likely drop support to RN < 0.57.2 so that we can rely on changes made in https://github.com/facebook/react-native/pull/21398 to support overflow hit testing on both platforms.

🐛 BUG FIXES

  • Fix PropTypes by @ckknight (#268)
  • Fix compatibility with react-native-reanimated by @osdnk (#287)
  • Add activeOpacity definition to RectButtonProperties by @hkolsen (#288)

👍 IMPROVEMENTS

  • Update TS definitions by @henrikra (#260), @osdnk (#281), @m-tymchyk (#298)
  • Update docs by @osdnk (#258)(#274), @sebryu (#272), @vonovak (#303)
  • Add extra fields to long press, fling and tap event payload on Android by @osdnk (#277)
  • Unify PanGestureHandler activation/fail criteria by @osdnk (#292), @kmagiera
    API of PanGestureHandler has been changed a little bit in order to be more flexible! ✋
  • Prevent interpolate when values are out of order by @mironiasty (#301) 🎉
  • Factor in the current drawer translation when animating by @brentvatne (#286)
  • Add support for hitSlop on buttons on iOS by @janicduplessis (#283)

🙌 Thanks for all the contributions and issue reports which make RNGH better and better! 😍

react-native-gesture-handler -

Published by kmagiera over 6 years ago

Minor release to include fixed typescript definitions in the published package.

IMPROVEMENTS

  • #257 by @osdnk – add drawer example gifs to documentation
  • #254 by @osdnk – add openLeft and openRight to Swipeable
  • #256 by @henrikra - fix typescript definitions

🙌 Thanks for all the contributions and issue reports!

react-native-gesture-handler -

Published by kmagiera over 6 years ago

This version includes some fundamental updates to the way we handle multi-touch interactions. But since the API stays the same and no breaking changes has been introduces we release it as a "minor" update which should allow most of the user to adapt this new version sooner.

🎉 NEW FEATURES

  • Interact with handlers using second or further finger – we now allow for handler to be activated with another finger while there is another interaction already happening. We now treat each finger as a separate stream of events that can be delivered to a completely different set of handlers. This does not affect the way it used to work when handlers overlap or are "nested" within each other. In such a case "simultanousHandlers" or "waitFor" can be used to control how handlers should activate. See a sample video here: https://twitter.com/kzzzf/status/1015907930649055233 (#237 author: @osdnk)

🐛 BUG FIXES

  • #232 by @angly-cat – border radius fix for buttons on Android
  • #235 by @kmagiera – restores a way for react-native-navigation apps to install GH root views on Android
  • #248 by @osdnk – fixes issue with border radius reported in #222
  • #250 by @osdnk – allows for render prop to be used with DrawerLayout component
  • #247 by @osdnk – fixes problem with incorect tap gesture coordinates on Android reported in #241
  • #240 by @osdnk – fixes problem with tap gesture coordinates on iOS reported in #233

OTHER IMPROVEMENTS

  • #219 by @pcooney10 – improve android installation instructions
  • #242 by @brunolemos – adds our beautiful logo to the readme page

🙌 Thanks for all the contributions and issue reports!

react-native-gesture-handler -

Published by kmagiera over 6 years ago

Minor release to include changes required for compatibility with React Native 0.56 – 10f239d

No other changes have been merged into this release since 1.0.4 except from changes that updates documentation and typescript definition file. Shout out to everyone who contributed these changes: @badmon, @itsjgf, @osdnk, @krzysztofciombor, @brentvatne and @BlenderDude 👏 👏 👏

react-native-gesture-handler -

Published by kmagiera over 6 years ago

A hotfix release that resolves critical issue reported in #194

react-native-gesture-handler -

Published by osdnk over 6 years ago

This release includes small fixes in Swipeable component. Bottom sheet example was improved as well
We omitted version 1.0.2 in releases as we noticed important bug in handler lifecycle fixed in #196

All PRs included since 1.0.0:

  • #164 (by @osdnk)
  • #165 (by @osdnk)
  • #190 (by @osdnk)
  • #196 (by @osdnk)
react-native-gesture-handler -

Published by kmagiera over 6 years ago

Minor release created mainly to fix issue with using react refs in redux-like environment (#182).

The remaining changes are related to updating propTypes, typescript interface and podspec.

All PRs included since 1.0.0:

  • #178 (by @lnikkila)
  • #181 (by @osdnk)
  • #186 (by @itchingpixels)
  • #188 (by @krzysztofciombor)
  • #189 (by @osdnk)

Thanks to everyone who contributed their changes to this release! 🎉

react-native-gesture-handler -

Published by kmagiera over 6 years ago

First non-alpha release with completely revamped documentation https://kmagiera.github.io/react-native-gesture-handler/

react-native-gesture-handler - 1.0.0-alpha.43

Published by kmagiera over 6 years ago

Added FlingGestureHandler

react-native-gesture-handler -

Published by kmagiera almost 7 years ago

Since this version it is possible to use the library with react-native-navigation. See here for installation instructions.

react-native-gesture-handler -

Published by kmagiera almost 7 years ago

Compatibility fixes for react-native 0.50

react-native-gesture-handler -

Published by kmagiera about 7 years ago

Package Rankings
Top 0.6% on Npmjs.org
Related Projects