react-native-gesture-handler 3.3.0

v3.​3.​0Minor Release

Bug fixes

  • Keep ReanimatedSwipeable native handlers stable when event callbacks change by @ngocdevv in #4466
  • Forward press handlers as testOnly_* in PressableWithTouchable by @huextrat in #4416
  • Pass reanimatedEventHandler only when the Reanimated detector is used by @antFrancon in #4429
  • [Android] Fix buttons firing press events when a scroll takes over the touch by @m-bert in #4441
  • [Android] Fix native handlers attaching to a nested button instead of the detector's child by @m-bert in #4464
  • Fix ReanimatedDrawerLayout animation speed after rerender by @ngocdevv in #4470
  • Fix dead presses in "never" mode when the keyboard belongs to a native field by @m-bert in #4439
  • Don't pass dependencies to Reanimated hooks on native by @m-bert in #4472
  • [Web] Activate ScrollView's native gesture on real scroll instead of pointer distance by @m-bert in #4420
  • [iOS] Detach handlers when the detector view is recycled by @m-bert in #4440
  • Forward borderless and foreground from android_ripple by @m-bert in #4442
  • [Android] Don't let an awaiting parent handler cancel the child it is waiting for by @j-piasecki in #4476
  • [Web] Reset NativeViewGestureHandler config on a full config replace by @j-piasecki in #4486
  • [Web] Restore enabled on a full config replace by @j-piasecki in #4487
  • [Web] Refresh the DOM after a full config replace by @j-piasecki in #4488
  • Default shouldCancelWhenOutside to true in useTapGesture by @giaBaoJS in #4475
  • Reset numberOfPointers in LongPressGestureHandler by @giaBaoJS in #4479
  • Reset enableTrackpadTwoFingerGesture in web PanGestureHandler by @giaBaoJS in #4480
  • [iOS] Keep button hit testing within its own subtree by @rileysay in #4495
  • [iOS] Cancel an in-progress press when the button gets disabled by @m-bert in #4501
  • [Android] Release the press when the button gets disabled by @m-bert in #4502
  • [Web] Drop a handler from the orchestrator when it gets disabled mid-gesture by @m-bert in #4504
  • [Web] Drop handlers that never began from the orchestrator by @m-bert in #4505
  • [Web] Stop circular GestureStateManagerType import by @roryabraham in #4508
  • [iOS] Preserve disabled button targets under box-none parents by @rileysay in #4506
  • [Web] Reset accumulated wheel delta in WheelEventManager by @giaBaoJS in #4484
  • [Android] Stop nested scroll when a native handler's gesture ends by @m-bert in #4492

Miscellaneous

  • [Android] Remove old Reanimated check by @m-bert in #4431
  • [Android] Initialize the Handler fields eagerly by @m-bert in #4461
  • Use stable Reanimated and Worklets by @m-bert in #4473
  • Fix Errors.test.tsx failing with Reanimated 4.6.0 by @m-bert in #4474
  • [Web] Fix delayTimeout type in FlingGestureHandler by @m-bert in #4471
  • Escape the JSON-LD against early script termination by @halskiszymon in #4462
  • Remove stale TODOs by @m-bert in #4455, #4457, #4460 and #4463
  • Remove REACT_NATIVE_MINOR_VERSION build flag by @m-bert in #4422
  • Add issue triage comments workflow by @m-bert in #4450
  • Flatten same-type nested compositions in useComposedGesture by @m-bert in #4453
  • Fix typos in web GestureHandler comments by @AlexRixten in #4490
  • Resolve DrawerLayoutAndroid lazily to avoid RN deprecation warning on import by @m-bert in #4493
  • Update Pressable props by @m-bert in #4421
  • [Tests] Add basic tap, long press, nested touchables, shared value and timer e2e tests by @j-piasecki in #4424, #4425, #4426, #4434 and #4437
  • Fix v3 CI path filter case and remove stale files entry by @m-bert in #4465
  • [CI] Add basic Argent end-to-end tests by @j-piasecki in #4318
  • [CI] Capture device logs in e2e workflows by @j-piasecki in #4481
  • [CI] Await the example button before tapping it in Argent flows by @j-piasecki in #4482
  • [Example] Keep "Basic" in example names, add test ids by @j-piasecki in #4423
  • [Docs] Warn that gesture relations can't mix new and old APIs by @m-bert in #4467
  • [Docs] Update sponsors section by @m-bert in #4459
  • [Docs] Add JSON-LD and llms.txt for AI search by @halskiszymon in #4458
  • [Docs] Update compatibility table by @m-bert in #4419
  • [Docs] Add Privacy Policy link to the footer by @Sullyvahnn-v2 in #4435
  • Dependency bumps by @dependabot in #4430, #4478, #4499, #4507 and #4509

New contributors

  • @antFrancon made their first contribution in #4429
  • @Sullyvahnn-v2 made their first contribution in #4435
  • @halskiszymon made their first contribution in #4458
  • @ngocdevv made their first contribution in #4466
  • @giaBaoJS made their first contribution in #4475
  • @AlexRixten made their first contribution in #4490
  • @rileysay made their first contribution in #4495
  • @roryabraham made their first contribution in #4508

Full changelog: v3.2.1...v3.3.0

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