Skip to content

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

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

2.17.1

21 Jun 12:43
05d7908
Compare
Choose a tag to compare

🐛 Bug fixes

  • Don't register checkIntegrityBetweenArchitectures task when installed as a dependency by @j-piasecki in #2953

Full Changelog: 2.17.0...2.17.1

2.17.0

19 Jun 11:29
4332c57
Compare
Choose a tag to compare

❗ Important changes

👍 Improvements

🐛 Bug fixes

🔢 Miscellaneous

New Contributors

Full Changelog: 2.16.2...2.17.0

2.16.2

07 May 11:54
3cc7c9c
Compare
Choose a tag to compare

🐛 Bug fixes

🔢 Miscellaneous

Full Changelog: 2.16.1...2.16.2

2.16.1

29 Apr 09:29
664b30e
Compare
Choose a tag to compare

🐛 Bug fixes

  • Fix remote debugger detection in bridgeless mode by @piaskowyk in #2864
  • Fix manualActivation on web by @m-bert in #2869
  • Fix old Gesture Handler API integration with Reaniamted by @piaskowyk in #2881
  • [Web] Fix incorrect startX and startY values in Pan by @m-bert in #2871
  • [Web] Add minVelocity to Pan custom activation criteria by @m-bert in #2884

👍 Improvements

🔢 Miscellaneous

New Contributors

Full Changelog: 2.16.0...2.16.1

2.16.0

27 Mar 16:01
86a5771
Compare
Choose a tag to compare

❗ Important changes

🐛 Bug fixes

  • Add rotation and pinch velocity on macOS by @jfedak in #2706
  • Fix ConcurrentModificationException. by @m-bert in #2750
  • Fix pointers count on iOS by @m-bert in #2755
  • fix: remove usage of bridge uimanager in one more place by @WoLewicki in #2768
  • Remove hardcoded version of cocoapods by @m-bert in #2772
  • Move customDirectEventTypes to separate files. by @m-bert in #2786
  • Fix nested taps activation by @m-bert in #2759
  • Cancel handlers by NativeViewGestureHandler by @m-bert in #2788
  • Make simultaneous handlers always symmetric on iOS by @j-piasecki in #2800
  • Update mocks to work when testing for the new arch by @j-piasecki in #2801
  • fix(web): After swiping closed, the Swipeable component cannot be swiped open again by @yatessss in #2802
  • Remove event listeners on handler drop by @m-bert in #2815
  • Use correct origin point for calculating the absolute position on Android by @j-piasecki in #2826
  • Add check when removing handlers from orchestrator by @m-bert in #2831
  • Use locationOfTouch:inView over locationInView for focal point by @rrebase in #2834

👍 Improvements

🔢 Miscellaneous

New Contributors

Full Changelog: 2.15.0...2.16.0

2.15.0

05 Feb 16:11
2e5df1c
Compare
Choose a tag to compare

❗ Important changes

🐛 Bug fixes

  • Add checks for the same instance of handler usage across multiple GestureDetectors by @m-bert in #2694
  • Remove didMountComponentsWithRootTag on the new arch by @j-piasecki in #2687
  • Fix double start when activateAfterLongPress is used by @j-piasecki in #2628
  • Reset relevant handler when recognizer gets reset. by @j-piasecki in #2705
  • Fix inactive handlers staying at finished state by @m-bert in #2738
  • Change functions in windows module file to no-ops. by @m-bert in #2741
  • Fix handlers coming back from being cancelled by @j-piasecki in #2704
  • fix: restore ReactMethod annotation by @WoLewicki in #2722

🔢 Miscellaneous

New Contributors

Full Changelog: 2.14.0...2.15.0