Skip to content

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

2.8.0

21 Oct 14:20
004b56c
Compare
Choose a tag to compare

❗ Important changes

  • Add userSelect prop by @Warus15 in #2280
  • Make gesture required prop in GestureDetector by @Warus15 in #2285

🐛 Bug fixes

  • Make handlers respect shouldCancelWhenOutside by @Warus15 in #2271
  • Fix ManualGestureHandler shouldCancelWhenOutside on iOS by @Warus15 in #2274
  • Fix missing begin event on Android for Pinch and Rotation by @j-piasecki in #2264

🔢 Miscellaneous

Full Changelog: 2.7.1...2.8.0

2.7.1

11 Oct 13:54
c75146f
Compare
Choose a tag to compare

🐛 Bug fixes

  • Pan shouldCancelWhenOutside fix by @Warus15 in #2256
  • Change in handling coordinates in FlingGestureHandler by @Warus15 in #2253
  • Fix simultaneous gesture when it receives composed gestures as arguments by @j-piasecki in #2252
  • Remove userSelect: none on NativeViewGestureHandler by @Warus15 in #2260
  • Change order of sending touch events and assigning new state by @Warus15 in #2261
  • fix a potential race on component unmount by @phryneas in #2262

👍 Improvements

  • Disable context menu on LongPressGestureHandler by @Warus15 in #2257

New Contributors

Full Changelog: 2.7.0...2.7.1

2.7.0

03 Oct 14:32
bbb85d8
Compare
Choose a tag to compare

❗ Important changes

🐛 Bug fixes

  • Prevent handlers from crashing when they don't use touch events by @Warus15 in #2246
  • Update if statments in PointerTracker to correctly return coordinates by @Warus15 in #2247
  • Fix nested buttons on Android and buttons becoming unresponsive in a list by @j-piasecki in #2187
  • Fix NullPointerException when evaluating hitSlop on Android by @j-piasecki in #2241
  • Make ReanimatedEventDispatcher a class and not an object by @j-piasecki in #2203

🔢 Miscellaneous

Full Changelog: 2.6.2...2.7.0

2.6.2

23 Sep 13:41
dd17c2d
Compare
Choose a tag to compare

🐛 Bug fixes

  • Use cloneElement when assigning a refresh control by @j-piasecki in #2231
  • Use _reactInternalFiber instead of _reactInternals on RN 0.63 by @j-piasecki in #2238
  • Make handlers send touches cancel on gesture end by @Warus15 in #2240

👍 Improvements

🔢 Miscellaneous

New Contributors

Full Changelog: 2.6.1...2.6.2

2.6.1

16 Sep 10:58
8b90795
Compare
Choose a tag to compare

❗ Important changes

  • Touch events web by @Warus15 in #2177
  • Manual gesture receiving touch events by @Warus15 in #2188
  • Pointer events to touch events mapping by @Warus15 in #2207

🐛 Bug fixes

  • Nested touchables fix by @Warus15 in #2210
  • Add check for module by @Warus15 in #2215
  • Cache averages in PointerTracker by @Warus15 in #2212
  • Remove calling web implementation on native apps by @Warus15 in #2214
  • Add support for enable by @Warus15 in #2206

👍 Improvements

  • Update @types/react-native and remove comments about missing .d.ts files by @j-piasecki in #2189
  • Unify how reanimated module is looked for on Android by @j-piasecki in #2201
  • Remove event parameter by @Warus15 in #2190

🔢 Miscellaneous

New Contributors

  • @lucioroadtoglory made their first contribution in #2218

Full Changelog: 2.6.0...2.6.1

2.6.0

25 Aug 13:16
bb4df37
Compare
Choose a tag to compare

❗ Important changes

🐛 Bug fixes

👍 Improvements

🔢 Miscellaneous

New Contributors

Full Changelog: 2.5.0...2.6.0

2.5.0

23 Jun 14:17
9fb42fe
Compare
Choose a tag to compare

❗ Important changes

  • Add activateAfterLongPress modifier to Pan gesture by @j-piasecki in #1938
  • Make NativeViewGestureHandler behave more like on iOS when wrapping TextInput by @j-piasecki in #2017
  • Extract handlers when child view is handling touch with pointerEvents='box-none' by @j-piasecki in #2024
  • Fix sound effects on nested buttons, add touchSoundDisabled prop by @j-piasecki in #2047

🐛 Bug fixes

  • Update scroll view class check in RNNativeViewHandler on Fabric by @j-piasecki in #2031
  • Fix simultaneousHandlers prop on NativeViewGestureHandler on iOS by @j-piasecki in #2018
  • Don't use reanimated module in a worklet by @j-piasecki in #2070
  • Schedule calling dropAllGestureHandlers on main queue by @j-piasecki in #2028
  • Refactor how ripple animation is applied to GestureHandlerButton by @j-piasecki in #2014
  • Make sure that react-native-macos is supported by using the web fallback by @hsjoberg in #2010
  • Default import package.json in src/utils by @nandorojo in #2036
  • Fix wrong coordinates when multiple gestures are tracking different pointers on Android by @j-piasecki in #2098
  • Fix touchable inspector for Gesture Handler buttons by @j-piasecki in #2103
  • Fix wrong coordinated reported by Fling gesture on iOS by @j-piasecki in #2059
  • Fix Kotlin compiler error inferred type Context? by @muhamad-rizki in #2096
  • Fix: use different touchHandler on Fabric by @WoLewicki in #2104
  • Fix state flow for manual activation on iOS by @j-piasecki in #1912
  • Fix importing PressabilityDebugView on web by @j-piasecki in #2109
  • Upgrade Gesture Handler and FabricExample to support RN 0.69 by @j-piasecki in #2053

🔢 Miscellaneous

New Contributors

Full Changelog: 2.4.2...2.5.0

2.2.1

10 May 08:19
Compare
Choose a tag to compare

This release backports a few important changes for Expo.

❗ Important changes

2.4.2

05 May 15:26
b9904f6
Compare
Choose a tag to compare

🐛 Bug fixes

  • Fix resolution of refs in the old API by @j-piasecki in #2019
  • Use constant value for translation when DrawerLayout is idle by @j-piasecki in #2005
  • Fix compatibility with @types/react^18.0.0 by @j-piasecki in #2030
  • Don't update shared value containing the gesture config unless the config has changed by @j-piasecki in #2037

🔢 Miscellaneous

Full Changelog: 2.4.1...2.4.2

2.4.1

21 Apr 08:03
35c3752
Compare
Choose a tag to compare

🐛 Bug fixes

🔢 Miscellaneous

New Contributors

Full Changelog: 2.4.0...2.4.1