@swmansion/react-native-bottom-sheet 0.9.1 → 0.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -80,9 +80,9 @@ public final class RNSBottomSheetHostingView: UIView {
80
80
  panGesture = UIPanGestureRecognizer(target: self, action: #selector(handlePan(_:)))
81
81
  panGesture.delegate = self
82
82
  panGesture.cancelsTouchesInView = true
83
- // Delay touch delivery to views so that Pressable doesn't flash its pressed
84
- // state while the pan gesture is still being disambiguated.
85
- panGesture.delaysTouchesBegan = true
83
+ // Let child controls show immediate press feedback. If the interaction
84
+ // becomes a sheet drag, handlePan(.began) cancels in-flight RN touches.
85
+ panGesture.delaysTouchesBegan = false
86
86
  panGesture.delaysTouchesEnded = false
87
87
  sheetContainer.addGestureRecognizer(panGesture)
88
88
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swmansion/react-native-bottom-sheet",
3
- "version": "0.9.1",
3
+ "version": "0.9.2",
4
4
  "description": "Provides bottom-sheet components for React Native.",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",