@swmansion/react-native-bottom-sheet 0.9.1-next.1 → 0.9.2-next.1

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.
package/README.md CHANGED
@@ -232,6 +232,6 @@ product‍—‍[hire us](https://swmansion.com/contact/projects?utm_so
232
232
 
233
233
  ## Sponsored by [Gobi Maps](https://www.gobimaps.com)
234
234
 
235
- A social map for exploring your city.
235
+ The best of your city, all in one map.
236
236
 
237
237
  [<img src="gobi.png" height="80" />](https://www.gobimaps.com)
@@ -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-next.1",
3
+ "version": "0.9.2-next.1",
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",