Skip to content

v2.33.0

Choose a tag to compare

@m-bert m-bert released this 14 Sep 07:51
· 681 commits to main since this release

React Native support

React Native 0.87 is the last React Native version supported by the 2.x line. Support for newer React Native releases continues in Gesture Handler 3.


❗ Important changes

  • Support React Native 0.87 on 2.x by @m-bert in #4497
  • feat: Adopt AGP v9 by @hurali97 in #4263
  • Fix fatal crash Cannot read property 'translationX' of undefined when a touch event is serialized without allTouches by @huextrat in #4316

🐛 Bug fixes

  • [Android | Web] Disable pointer events on hidden Swipeable actions container by @jamesacklin in #4192
  • [Android] Fix mouse interactions by @m-bert in #4265
  • fix: crash when mount listener fires after GestureDetector unmount by @kosmydel in #4268
  • Remove opacity from Swipeable action panels by @m-bert in #4271
  • [Android] Fix text getting selected during gestures by @j-piasecki in #4273
  • [Android] Fix ConcurrentModificationException in GestureHandlerOrchestrator by @kosmydel in #4274
  • [iOS] Move Tap cancelation to dispatch_after by @m-bert in #4280
  • fix: remove UIPointerInteraction from the view when unbinding the hover handler by @petterikorpimaa in #4291
  • [iOS] Fix js responder cancelation in modals by @m-bert in #4306
  • [iOS] Fix gesture callback guarantees when view is detached mid-gesture by @m-bert in #4321
  • Fix minVelocity props behavior by @m-bert in #4327
  • [Web] Fix incorrectly calculated timeDelta by @m-bert in #4329
  • [Web] Fix incorrect Tap offset by @m-bert in #4330
  • [Android] Guard update events to only be dispatched in ACTIVE state by @j-piasecki in #4332
  • [macOS] Fix Pan activation criteria being ignored by @m-bert in #4387
  • [macOS] Fix manualActivation never blocking gesture activation by @m-bert in #4389
  • [macOS] Fix touch events never being delivered by @m-bert in #4390
  • [macOS] Fix Fling not sending touch events and begin/end states consistently by @m-bert in #4395
  • [Android] Fix handlers cancelled while awaiting leaking in the orchestrator by @m-bert in #4402
  • Clear pending timers on unmount in StatefulPressable by @m-bert in #4413
  • Forward borderless and foreground from android_ripple by @m-bert in #4442
  • Keep ReanimatedSwipeable native handlers stable when event callbacks change by @ngocdevv in #4466
  • Fix ReanimatedDrawerLayout animation speed after rerender by @ngocdevv in #4470
  • Don't pass dependencies to Reanimated hooks on native by @m-bert in #4472
  • [Android] Don't let an awaiting parent handler cancel the child it is waiting for by @j-piasecki in #4476
  • Reset numberOfPointers in LongPressGestureHandler by @giaBaoJS in #4479
  • Reset enableTrackpadTwoFingerGesture in web PanGestureHandler by @giaBaoJS in #4480
  • Reset accumulated wheel delta in web WheelEventManager by @giaBaoJS in #4484
  • [Web] Reset NativeViewGestureHandler config on a full config replace by @j-piasecki in #4486
  • [Android] Stop nested scroll when a native handler's gesture ends by @m-bert in #4492
  • [iOS] Keep button hit testing within its own subtree by @rileysay in #4495
  • [Web] Drop handlers that never began from the orchestrator by @m-bert in #4505
  • [iOS] Preserve disabled button targets under box-none parents by @rileysay in #4506
  • fix: stop circular GestureStateManagerType import on web by @roryabraham in #4508

🔢 Miscellaneous

  • [Android] Do not set explicit versions in build.gradle by @m-bert in #4248
  • [Android] Don't delay child pressed state in buttons by @j-piasecki in #4296
  • Fix Easing import in LongPress example by @haxonadora in #4298
  • [macOS] Add coordinates to Hover events by @m-bert in #4304
  • Export PressableEvent type by @m-bert in #4324
  • Don't dispatch orphaned touch events by @m-bert in #4341
  • [iOS] Check if enableTrackpadTwoFingerGesture is nil before applying by @m-bert in #4349
  • [Android] Fix basic-example hermesc path by @j-piasecki in #4371
  • Chore: ref forwarding to child in wrap v2 by @tshmieldev in #4385
  • [Apple] Remove trailing semicolons from RNGHGestureRecognizerState* macros by @m-bert in #4391
  • Derive Pressable pressed state from testOnly_pressed by @m-bert in #4414
  • Update Pressable props by @m-bert in #4421
  • [General] Align pointerType across native and JS by @j-piasecki in #4403
  • Resolve DrawerLayoutAndroid lazily to avoid RN deprecation warning on import by @m-bert in #4493

Full Changelog: v2.32.0...v2.33.0
cherry-pick thread: #4498