Skip to content

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

Release 2.22.0

10 Jan 14:42
3603e89
Compare
Choose a tag to compare

❗ 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

2.21.2

19 Nov 11:19
6fc506d
Compare
Choose a tag to compare

👍 Improvements

🔢 Miscellaneous

  • Fix broken links in the quickstart docs page by @latekvo in #3213
  • Add docs page for the new ReanimatedDrawerLayout component by @latekvo in #3188

Full Changelog: 2.21.1...2.21.2

2.21.1

18 Nov 12:45
5b116c8
Compare
Choose a tag to compare

❗ Important changes

New Contributors

Full Changelog: 2.21.0...2.21.1

2.21.0

14 Nov 12:11
4e17ec2
Compare
Choose a tag to compare

❗ Important changes

  • Create ReanimatedDrawerLayout component by @latekvo in #3146
  • fix(web): broken at dropping by @MJRT in #3125
  • [Web] Remove findNodeHandle function. by @m-bert in #3127
  • [web] Add support for two finger pan by @m-bert in #3163
  • [Web] Adjust findNodeHandle to properly detect SVG by @m-bert in #3197

👍 Improvements

🐛 Bug fixes

  • [Android] Fix gestures being able to activate despite their parent already being active by @latekvo in #3095
  • [MacOS] Fix Pressable being unresponsive by @latekvo in #3142
  • Fix swipeable swiping to left when no renderRightActions is set by @latekvo in #3145
  • Fix onStart callbacks of ReanimatedSwipeable being called every update by @latekvo in #3151
  • Fix elements dissapearing due to high values set to threshold props in ReanimatedSwipeable by @latekvo in #3153
  • [ReanimatedSwipeable] Multiple bug fixes and improvements by @latekvo in #3149

🔢 Miscellaneous

New Contributors

Full Changelog: 2.20.0...2.21.0

2.20.2

24 Oct 15:02
Compare
Choose a tag to compare

❗ Important changes

  • [macOS] Fix build on fabric (#3154)
  • Fixes Android event dispatcher for old arch (#3176)
  • [macOS] Fix build on old architecture (#3182)
  • Fix tvOS build (#3180)

🔢 Miscellaneous

  • Bump FabricExample to RN 0.76 (#3178)

New Contributors

Full Changelog: 2.20.1...2.20.2

2.20.1

22 Oct 13:49
Compare
Choose a tag to compare

❗ Important changes

  • fix: Android event dispatcher change for 0.76.0-rc.6 (#3166)

🔢 Miscellaneous

  • Update Podfile.lock in FabricExample (#3174)

New Contributors

2.20.0

25 Sep 07:47
10f1e0c
Compare
Choose a tag to compare

❗ Important changes

👍 Improvements

🐛 Bug fixes

  • [tvOS] Fix tvOS not building because of LongPressGestureHandler by @latekvo in #3090
  • Fix Pressable styling by removing unnecessary wrapping View by @latekvo in #3087
  • [iOS] Prevent crash when setting cursor style by @m-bert in #3097
  • [Android] Fix border styles for touchable components with transparent background color by @kacperzolkiewski in #3096
  • Fix FlatList type by @j-piasecki in #3029
  • [macOS] Fix rotation by @m-bert in #3122
  • [Jest] Don't fire callbacks on disabled gestures by @m-bert in #3119
  • Call getEventDispatcher in ReactContextExtensions.kt by @tomekzaw in #3120
  • Fix duplicate libreactnative.so and libjsi.so by @tomekzaw in #3118
  • [Web] Remove hovering pointer from tracker. by @m-bert in #3115
  • Fix button padding not being applied correctly on the new arch by @j-piasecki in #3106

🔢 Miscellaneous

New Contributors

Full Changelog: 2.19.0...2.20.0

2.19.0

02 Sep 09:42
94317a2
Compare
Choose a tag to compare

❗ Important changes

👍 Improvements

  • Unify Vector-related constant naming scheme across Web and Android implementations by @latekvo in #3052
  • Add numberOfPointers to LongPress by @m-bert in #3043
  • feat: add load method by @WoLewicki in #3063
  • [Android] Drop support for AGP version <= 7 by @latekvo in #3077

🐛 Bug fixes

  • Fix Pressable not inferring dimensions from it's children by @latekvo in #3020
  • Fix scroll view handler state change events by @coado in #2985
  • Fix failing macOS build by @j-piasecki in #3033
  • [web] Fix scale by @m-bert in #3031
  • Fix Pressable props export by @j-piasecki in #3036
  • [Web] Reset web-exclusive properties when handler is disabled. by @m-bert in #3041
  • Fix Pressables's interference with other gestures when nested by @latekvo in #3015
  • [ReanimatedSwipeable] Create separate spring configs to avoid overwriting ones already being used by @latekvo in #3045
  • Forward unused props in ReanimatedSwipeable and Pressable to their inner components by @latekvo in #3039
  • [Android] Fix Hover blocking scrolling with mouse wheel by @m-bert in #3067
  • [jest] Fix enabled prop in buttons. by @m-bert in #3062
  • [web] Fix NativeViewGestureHandler style. by @m-bert in #3070
  • fix: pinch gesture velocity expressed in scale factor per second on android by @coado in #3072
  • fix: touch event absolute position by @coado in #3078

🔢 Miscellaneous

New Contributors

Full Changelog: 2.18.1...2.19.0

2.18.1

01 Aug 10:34
dfb5e43
Compare
Choose a tag to compare

🐛 Bug fixes

What's Changed

Full Changelog: 2.18.0...2.18.1

2.18.0

30 Jul 14:40
980e65b
Compare
Choose a tag to compare

❗ Important changes

👍 Improvements

  • [macOS] Add ForceTouch warning by @m-bert in #2954
  • Remove shared value read on the JS thread during detector update by @j-piasecki in #2957
  • Use a newer constructor for all Gesture Handler events on Android by @j-piasecki in #2967
  • Persist rotation and pinch gesture through pointer changes on android by @coado in #2983
  • [macOS] Add NativeViewGestureHandler by @m-bert in #3004
  • Add enabled prop support to swipeable by @latekvo in #3011

🐛 Bug fixes

  • Make handler comparator work only on non-null objects by @j-piasecki in #2964
  • fix: bind scope to null to prevent issues with inline requires by @EvanBacon in #2972
  • Replace queueMicrotask with requestAnimationFrame by @m-bert in #2969
  • Resolve circular dependencies on JS side by @latekvo in #2970
  • Fix Android native buttons emitting 2 press events when talkback is enabled by @latekvo in #3002
  • Fix ScrollView intercepting touches through out-of-bounds children by @j-piasecki in #3017
  • Change onPress argument in buttons by @m-bert in #3006
  • [macOS] Fix handlers not responding after opening context menu by @m-bert in #3008
  • [iOS | macOS] Fix translation calculation in LongPress by @m-bert in #3013
  • Fix cancelling manual activation gestures blocking interactivity on iOS by @latekvo in #3007

🔢 Miscellaneous

New Contributors

Full Changelog: 2.17.0...2.18.0