Skip to content

Releases: software-mansion/react-native-gesture-handler

v3.1.0

Choose a tag to compare

@m-bert m-bert released this 17 Jul 13:28
fb1089b

❗ Important changes

👍 Improvements

🐛 Bug fixes

  • [Android] Fix text getting selected during gestures by @j-piasecki in #4273
  • [iOS] Move Tap cancelation to dispatch_after by @m-bert in #4280
  • [Web] Do not detach gestures from other detectors by @m-bert in #4286
  • [Android] Fix ConcurrentModificationException in GestureHandlerOrchestrator by @kosmydel in #4274
  • fix: remove UIPointerInteraction from the view when unbinding the hover handler by @petterikorpimaa in #4291
  • Do not call onPress on buttons while dismissing keyboard by @m-bert in #4281
  • fix(android): guard null Handler in ButtonViewGroup press animations by @tomekzaw in #4294
  • Don't block JS responder in RootHelper by @m-bert in #4297
  • [iOS] Fix js responder cancelation in modals by @m-bert in #4306
  • Fix updating SharedValue crash by @m-bert in #4315

🔢 Miscellaneous

  • [Docs] Update compatibility tables by @m-bert in #4275
  • [Android] Remove old versions checks by @m-bert in #4287
  • Ensure no gesture is used across multiple detectors by @m-bert in #4285
  • [docs] Add guide for transformations example by @m-bert in #4289
  • [macOS] Add coordinates to Hover events by @m-bert in #4304
  • [Web] Make getEffectiveBoundingRect recursive by @m-bert in #4303
  • Emit coordinates in Native gesture events by @m-bert in #4302
  • Fix Easing import in LongPress example by @haxonadora in #4298
  • Bump TypeScript to 6.0.3 by @m-bert in #4311
  • [Example] Add search bar to the main screen by @j-piasecki in #4314
  • [Example] Add an in-app console viewer by @j-piasecki in #4313
  • [Android] Don't delay child pressed state in buttons by @j-piasecki in #4296
  • Bump @babel/core from 7.29.0 to 7.29.7 in /packages/docs-gesture-handler by @dependabot[bot] in #4269
  • Bump joi from 17.13.3 to 17.13.4 in /packages/docs-gesture-handler by @dependabot[bot] in #4272
  • Bump launch-editor from 2.13.2 to 2.14.1 in /packages/docs-gesture-handler by @dependabot[bot] in #4270
  • Bump esbuild from 0.25.12 to 0.28.1 in /packages/docs-gesture-handler by @dependabot[bot] in #4260
  • Bump shell-quote from 1.8.3 to 1.8.4 in /packages/docs-gesture-handler by @dependabot[bot] in #4249
  • Bump webpack-dev-server from 5.2.4 to 5.2.5 in /packages/docs-gesture-handler by @dependabot[bot] in #4277
  • Bump joi from 17.13.3 to 17.13.4 by @dependabot[bot] in #4259
  • Bump concurrent-ruby from 1.3.3 to 1.3.7 in /apps/basic-example by @dependabot[bot] in #4278
  • Bump undici from 6.26.0 to 6.27.0 by @dependabot[bot] in #4279
  • Bump http-proxy-middleware from 2.0.9 to 2.0.10 in /packages/docs-gesture-handler by @dependabot[bot] in #4288

New Contributors

Full Changelog: v3.0.2...v3.1.0

v3.0.2

Choose a tag to compare

@m-bert m-bert released this 18 Jun 13:56

🐛 Bug fixes

  • fix(Android): apply numberOfPointers config to the pointer requirement in LongPressGestureHandler by @prashanFOMO in #4253
  • [iOS] Fix hooks API not cancelling JS Responder by @j-piasecki in #4261
  • [Android] Make detector aware of child transform by @m-bert in #4251
  • [Native] Fix native GestureDetector zIndex handling by @j-piasecki in #4257
  • [Android] Fix mouse interactions by @m-bert in #4265
  • [Android | Web] Disable pointer events on hidden Swipeable actions container by @jamesacklin in #4192
  • Remove opacity from Swipeable action panels by @m-bert in #4271

🔢 Miscellaneous

New Contributors

Full Changelog: v3.0.1...v3.0.2

2.32.0

Choose a tag to compare

@m-bert m-bert released this 11 Jun 13:10

❗ Important changes

👍 Improvements

🐛 Bug fixes

  • [iOS] Fix duplicated testID by @m-bert in #4186
  • [Android] Fix discrete gestures not triggering onFinalize by @m-bert in #4196
  • [Android] Fix wrong reported number of pointers by @j-piasecki in #4218
  • [iOS] Fix handler retrieval and mismatched coordinate space by @j-piasecki in #4199
  • [iOS] Don't iterate to root while resolving recognizer by @j-piasecki in #4202
  • fix(Android): apply numberOfPointers config to the pointer requirement in LongPressGestureHandler by @prashanFOMO in #4253

🔢 Miscellaneous

Full Changelog: v2.31.2...v2.32.0
cherry-pick thread: #4255

3.0.1

Choose a tag to compare

@m-bert m-bert released this 10 Jun 14:11

❗ Important changes

  • Support React Native 0.86 by @m-bert in #4166
  • Fix Android Pressable crash with Reanimated animations by @sorinc03 in #4214
  • Remove dispatchesReanimatedEvent from initial config by @m-bert in #4221
  • [tvOS] Fix build error by @m-bert in #4228
  • [Android] Fix crash with RN Screens FormSheet by @m-bert in #4243
  • [iOS] Remove unused old-arch import to fix build with React Native 0.87-nightly by @j-piasecki in #4247

👍 Improvements

🐛 Bug fixes

  • [Web] Fix wrong coordinate space by @m-bert in #4209
  • [Android] Fix hover events recording gestures other than HoverGestureHandler by @j-piasecki in #4220
  • [Android] Fix wrong reported number of pointers by @j-piasecki in #4218
  • Use v3 detectors in ReanimatedDrawerLayout by @m-bert in #4234
  • Fix gesture relations after freeze by @m-bert in #4244

🔢 Miscellaneous

New Contributors

Full Changelog: v3.0.0...v3.0.1

3.0.0

Choose a tag to compare

@j-piasecki j-piasecki released this 28 May 05:34

Stable release of Gesture Handler 3 - rebuilt for the New Architecture, introducing the new hook-based API, a new Touchable component, and a deeper Reanimated integration, among many others.

What's Changed

Read more

v3.0.0-beta.5

v3.0.0-beta.5 Pre-release
Pre-release

Choose a tag to compare

@m-bert m-bert released this 22 May 13:26
46a2bde

❗ Important changes

👍 Improvements

🐛 Bug fixes

  • [Android] Fix TextInput simultaneous relations by @m-bert in #4169
  • [Native] Fix exiting animation crash by @j-piasecki in #4173
  • [iOS] Fix InterceptingGestureDetector not recognizing gestures by @m-bert in #4170
  • [iOS] Fix underlay animation not firing in ScrollView with in: 0 by @j-piasecki in #4184
  • [iOS] Fix duplicated testID by @m-bert in #4186
  • [Native] Fix buttons staying pressed in after detached from window by @j-piasecki in #4188
  • [Android] Fix buttons cutting of borders of their child views by @j-piasecki in #4189
  • [Android] Fix Touchable children clipping by @j-piasecki in #4190
  • [General] Change how gestures are attached to the native detector to fix StrictMode by @j-piasecki in #4179
  • [General] Use handler observer API for relation updates by @j-piasecki in #4180
  • [iOS] Fix bad access when decorating runtime by @j-piasecki in #4187
  • [Android] Fix ScrollView invalid pointer id during navigation by @j-piasecki in #4177

🔢 Miscellaneous

  • [docs] Update compatibility table by @m-bert in #4161
  • [Swipeable] Rename dragOffsetFrom*Edge prop by @m-bert in #4168
  • Bump postcss from 8.5.9 to 8.5.14 in /packages/docs-gesture-handler by @dependabot[bot] in #4148
  • Bump ip-address from 10.1.0 to 10.2.0 by @dependabot[bot] in #4149
  • Bump @xmldom/xmldom from 0.8.12 to 0.8.13 by @dependabot[bot] in #4111
  • Bump fast-uri from 3.1.0 to 3.1.2 in /packages/docs-gesture-handler by @dependabot[bot] in #4162
  • Bump @babel/plugin-transform-modules-systemjs from 7.29.0 to 7.29.4 by @dependabot[bot] in #4163
  • Update ReanimatedDrawerLayout types by @m-bert in #4178
  • Bump @babel/plugin-transform-modules-systemjs from 7.29.0 to 7.29.4 in /packages/docs-gesture-handler by @dependabot[bot] in #4176
  • Update Swipeable types by @m-bert in #4175
  • Bump webpack-dev-server from 5.2.3 to 5.2.4 in /packages/docs-gesture-handler by @dependabot[bot] in #4183

Full Changelog: v3.0.0-beta.4...v3.0.0-beta.5

v3.0.0-beta.4

v3.0.0-beta.4 Pre-release
Pre-release

Choose a tag to compare

@m-bert m-bert released this 08 May 12:15
ab5ab7f

❗ Important changes

  • Deprecate builder API by @m-bert in #4103
  • [General] Change Touchable callback order by @j-piasecki in #4126
  • [General] Remove onActiveStateChange from Touchable by @j-piasecki in #4101
  • [Native] Use correct coordinate space when using native detector by @j-piasecki in #4137
  • [General] Add yieldsToNativeGestures property to native gesture by @j-piasecki in #4135
  • [General] Change yieldsToNativeGestures to yieldsToContinuousGestures by @j-piasecki in #4152
  • [Android] Unify Pinch and Rotation with respect to iOS by @m-bert in #4153
  • Add cancelsJSResponder prop to the gesture handlers by @coado in #4094
  • [Web] Continuous Pinch and Rotation by @m-bert in #4155
  • [Android] Remove getChildInDrawingOrderAtIndex by @javache in #4156

👍 Improvements

  • [Native] Add cancelOnLeave prop to Touchable by @j-piasecki in #4105
  • [General] Don't emit duplicate events for NativeViewGestureHandler by @j-piasecki in #4102
  • [iOS] Fix button events with numberOfPointers: 0 by @j-piasecki in #4098
  • [Web] Don't cancel buttons when pointer moves inside by @j-piasecki in #4100
  • [General] Allow to create gestures with no config by @j-piasecki in #4115
  • [iOS] Prevent duplicated events in Native gesture handling by @m-bert in #4125

🐛 Bug fixes

  • [Web] Fix nested touchables and gestures by @j-piasecki in #4108
  • [Native] Fix Touchable behavior when nested within gesture handlers by @j-piasecki in #4106
  • [Android] Fix hitSlop on native detector by @m-bert in #4049
  • [iOS] Fix Touchable animation ending in the wrong state by @j-piasecki in #4099
  • [iOS] Handle 0 duration animation correctly on Touchable by @j-piasecki in #4113
  • [Web | iOS] Fix Switch component by @m-bert in #4112
  • [Web] Fix Pressable not calling onPress* callbacks by @m-bert in #4124
  • [iOS] Fix LegacyPressable not emitting onPressOut by @j-piasecki in #4121
  • [General] Don't activate buttons on start by @j-piasecki in #4120
  • [Android] Dispatch cancel event only when root view is enabled by @j-piasecki in #4123
  • [Android] Restore button pressed state on drag in by @j-piasecki in #4118
  • [Android] Cancel button gesture when other handlers are extracted before it by @j-piasecki in #4127
  • [Web] Cancel button gesture when other handlers are extracted before it by @j-piasecki in #4128
  • [iOS] Handle view recycling in Touchable by @j-piasecki in #4131
  • [Web] Remove explicit reset from onPointerCancel by @j-piasecki in #4133
  • [Web] Don't call cancel on unregistered handlers by @j-piasecki in #4134
  • [iOS] Fix enabled state diverging between the handler and its recognizer by @j-piasecki in #4140
  • [General] Do not prepare config multiple times by @m-bert in #4144

🔢 Miscellaneous

New Contributors

Full Changelog: v3.0.0-beta.3...v3.0.0-beta.4

v2.31.2

Choose a tag to compare

@m-bert m-bert released this 04 May 11:04

🐛 Bug fixes

🔢 Miscellaneous

  • Do not check for worklets if babel plugin was not used by @m-bert in #4107
  • SwipeableProps from RefObject to Ref by @litinskii in #3759

Full Changelog: v2.31.1...v2.31.2

3.0.0-beta.3

3.0.0-beta.3 Pre-release
Pre-release

Choose a tag to compare

@m-bert m-bert released this 17 Apr 09:02
2e98457

❗ Important changes

👍 Improvements

🐛 Bug fixes

🔢 Miscellaneous

Read more

v2.31.1

Choose a tag to compare

@m-bert m-bert released this 10 Apr 13:56

❗ Important changes

🔢 Miscellaneous

Full Changelog: v2.31.0...v2.31.1