@dloizides/ui-layout 1.40.0 → 1.40.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/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1957,7 +1957,8 @@ var BottomSheet = ({
|
|
|
1957
1957
|
useFocusTrap(panelRef, visible && panel.mounted, initialFocusTestID);
|
|
1958
1958
|
useEscapeKey(visible, onClose);
|
|
1959
1959
|
useScrollLock(visible);
|
|
1960
|
-
|
|
1960
|
+
const hardwareBackClose = reactNative.Platform.OS === "web" ? void 0 : onClose;
|
|
1961
|
+
return /* @__PURE__ */ jsxRuntime.jsx(reactNative.Modal, { transparent: true, visible: panel.mounted || backdrop.mounted, onRequestClose: hardwareBackClose, children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles17.root, children: [
|
|
1961
1962
|
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Animated.View, { style: [reactNative.StyleSheet.absoluteFill, styles17.backdrop, { opacity: backdrop.style.opacity }] }),
|
|
1962
1963
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1963
1964
|
reactNative.Pressable,
|