npm react-native-gesture-handler 3.0.0-beta.4
v3.0.0-beta.4

7 hours ago

❗ Important changes

  • Deprecate builder API by @m-bert in #4103
  • [General] Change Touchable callback order by @j-piasecki in #4126
  • [General] Remove onActiveStateChange from Touchable by @j-piasecki in #4101
  • [Native] Use correct coordinate space when using native detector by @j-piasecki in #4137
  • [General] Add yieldsToNativeGestures property to native gesture by @j-piasecki in #4135
  • [General] Change yieldsToNativeGestures to yieldsToContinuousGestures by @j-piasecki in #4152
  • [Android] Unify Pinch and Rotation with respect to iOS by @m-bert in #4153
  • Add cancelsJSResponder prop to the gesture handlers by @coado in #4094
  • [Web] Continuous Pinch and Rotation by @m-bert in #4155
  • [Android] Remove getChildInDrawingOrderAtIndex by @javache in #4156

👍 Improvements

  • [Native] Add cancelOnLeave prop to Touchable by @j-piasecki in #4105
  • [General] Don't emit duplicate events for NativeViewGestureHandler by @j-piasecki in #4102
  • [iOS] Fix button events with numberOfPointers: 0 by @j-piasecki in #4098
  • [Web] Don't cancel buttons when pointer moves inside by @j-piasecki in #4100
  • [General] Allow to create gestures with no config by @j-piasecki in #4115
  • [iOS] Prevent duplicated events in Native gesture handling by @m-bert in #4125

🐛 Bug fixes

  • [Web] Fix nested touchables and gestures by @j-piasecki in #4108
  • [Native] Fix Touchable behavior when nested within gesture handlers by @j-piasecki in #4106
  • [Android] Fix hitSlop on native detector by @m-bert in #4049
  • [iOS] Fix Touchable animation ending in the wrong state by @j-piasecki in #4099
  • [iOS] Handle 0 duration animation correctly on Touchable by @j-piasecki in #4113
  • [Web | iOS] Fix Switch component by @m-bert in #4112
  • [Web] Fix Pressable not calling onPress* callbacks by @m-bert in #4124
  • [iOS] Fix LegacyPressable not emitting onPressOut by @j-piasecki in #4121
  • [General] Don't activate buttons on start by @j-piasecki in #4120
  • [Android] Dispatch cancel event only when root view is enabled by @j-piasecki in #4123
  • [Android] Restore button pressed state on drag in by @j-piasecki in #4118
  • [Android] Cancel button gesture when other handlers are extracted before it by @j-piasecki in #4127
  • [Web] Cancel button gesture when other handlers are extracted before it by @j-piasecki in #4128
  • [iOS] Handle view recycling in Touchable by @j-piasecki in #4131
  • [Web] Remove explicit reset from onPointerCancel by @j-piasecki in #4133
  • [Web] Don't call cancel on unregistered handlers by @j-piasecki in #4134
  • [iOS] Fix enabled state diverging between the handler and its recognizer by @j-piasecki in #4140
  • [General] Do not prepare config multiple times by @m-bert in #4144

🔢 Miscellaneous

New Contributors

Full Changelog: v3.0.0-beta.3...v3.0.0-beta.4

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

NewReleases is sending notifications on new releases.