npm react-native-gesture-handler 2.22.0
Release 2.22.0

17 hours ago

❗ Important changes

  • [Android] Include missing Gesture Handler in builds by @m-bert in #3318
  • Add Text component by @m-bert in #3202
  • Support React Native 0.77 by @jakex7 in #3278
  • [iOS] Check if handler was dropped before reattaching by @m-bert in #3247
  • Mark legacy web implementation as deprecated by @latekvo in #3259
  • [Android] Change onTouchEvent to dispatchTouchEvent in NativeViewGestureHandler by @m-bert in #3244
  • Update the generated specs for the old architecture to work on 0.77 by @j-piasecki in #3301

👍 Improvements

  • [Android] Add ScrollViewHook to ReactHorizontalScrollView components by @latekvo in #3298
  • Replace references with examples in docs by @j-piasecki in #3276
  • [Web] Remove unnecessary overrides by @m-bert in #3257
  • Make stylusData property of the GestureUpdateEvent optional by @kkafar in #3270
  • Optimize dependency list by @latekvo in #3216
  • Add error about functional components being used with old API by @m-bert in #3240
  • Expose testID as resource-id on Android by @oblador in #3287
  • Infer accessibility label from children in RNGestureHandlerButton on iOS by @oblador in #3290
  • Update RNGestureHandlerPackage to supported stable API by @jakex7 in #3228

🐛 Bug fixes

  • [Web] Add onPointerOutOfBounds to LongPress gesture handler by @m-bert in #3313
  • Fix transform on GestureHandlerButton on Android by @janicduplessis in #3252
  • Prevent child gestures from activating when a parent gesture is already active by @j-piasecki in #3296
  • Fix relations not working when one of the child dependencies remounts without a render in the parent by @j-piasecki in #3269
  • Fix: Pressable regular border radius rendering on iOS on old arch by @coado in #3279
  • Fix: cancelled events are not ended when manualActivation is used by @coado in #3273
  • Fix: onPressIn and onPressOut are triggered at the same time on Android by @coado in #3286
  • Fix: debug build for tests by @coado in #3283
  • Revert "Fix gestures being able to activate despite their parent already being active" by @latekvo in #3284

🔢 Miscellaneous

New Contributors

Full Changelog: 2.21.2...2.22.0

Don't miss a new react-native-gesture-handler release

NewReleases is sending notifications on new releases.