@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 +1 -1
- package/ios/RNSBottomSheetHostingView.swift +3 -3
- package/package.json +1 -1
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
|
-
|
|
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
|
-
//
|
|
84
|
-
//
|
|
85
|
-
panGesture.delaysTouchesBegan =
|
|
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