react-native-gesture-handler 3.1.0

v3.​1.​0Minor Release

Important changes

  • Taps that dismiss the keyboard no longer fire onPress, so keyboardShouldPersistTaps behaves as expected by @coado in #4158 and @m-bert in #4281
  • [Android] Handle hover in Touchable by @m-bert in #4282
  • [Apple] Handle hover in Touchable by @m-bert in #4283
  • Add delaysChildPressedState to native gesture by @j-piasecki in #4308

Improvements

  • Don't use context from useHandler by @j-piasecki in #4143

Bug fixes

  • [Android] Fix text getting selected during gestures by @j-piasecki in #4273
  • [Android] Fix ConcurrentModificationException in GestureHandlerOrchestrator by @kosmydel in #4274
  • [Android] Guard null Handler in ButtonViewGroup press animations by @tomekzaw in #4294
  • [Android] Don't delay child pressed state in buttons by @j-piasecki in #4296
  • [iOS] Move Tap cancelation to dispatch_after by @m-bert in #4280
  • [iOS] Fix JS responder cancelation in modals by @m-bert in #4306
  • [iOS] Remove UIPointerInteraction from the view when unbinding the hover handler by @petterikorpimaa in #4291
  • [Web] Do not detach gestures from other detectors by @m-bert in #4286
  • Don't block JS responder in RootHelper by @m-bert in #4297
  • Fix updating SharedValue crash by @m-bert in #4315

Miscellaneous

  • Emit coordinates in Native gesture events by @m-bert in #4302
  • [macOS] Add coordinates to Hover events by @m-bert in #4304
  • [Web] Make getEffectiveBoundingRect recursive by @m-bert in #4303
  • Ensure no gesture is used across multiple detectors by @m-bert in #4285
  • [Android] Remove old versions checks by @m-bert in #4287
  • Bump TypeScript to 6.0.3 by @m-bert in #4311
  • [Docs] Update compatibility tables by @m-bert in #4275
  • [Docs] Add guide for transformations example by @m-bert in #4289
  • Fix Easing import in LongPress example by @haxonadora in #4298
  • [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

New contributors

  • @petterikorpimaa made their first contribution in #4291
  • @haxonadora made their first contribution in #4298

Full changelog: v3.0.2...v3.1.0

Release card
react-native-gesture-handler 3.1.0 release card