@xsolla/xui-multi-select 0.185.5 → 0.186.0
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/native/index.js +3 -3
- package/native/index.js.map +1 -1
- package/native/index.mjs +9 -4
- package/native/index.mjs.map +1 -1
- package/package.json +5 -5
- package/web/index.js +3 -3
- package/web/index.js.map +1 -1
- package/web/index.mjs +9 -4
- package/web/index.mjs.map +1 -1
package/native/index.js
CHANGED
|
@@ -2213,6 +2213,7 @@ var MultiSelect = (0, import_react10.forwardRef)(
|
|
|
2213
2213
|
}, ref) => {
|
|
2214
2214
|
const { theme } = (0, import_xui_core4.useResolvedTheme)({ themeMode, themeProductContext });
|
|
2215
2215
|
const modalId = (0, import_xui_core4.useModalId)();
|
|
2216
|
+
const overlayLayer = (0, import_xui_core4.useOverlayLayer)();
|
|
2216
2217
|
const controlRef = (0, import_react10.useRef)(null);
|
|
2217
2218
|
const menuRef = (0, import_react10.useRef)(null);
|
|
2218
2219
|
const containerRef = (0, import_react10.useRef)(null);
|
|
@@ -2345,7 +2346,7 @@ var MultiSelect = (0, import_react10.forwardRef)(
|
|
|
2345
2346
|
left: 0,
|
|
2346
2347
|
right: 0,
|
|
2347
2348
|
bottom: 0,
|
|
2348
|
-
zIndex:
|
|
2349
|
+
zIndex: overlayLayer + import_xui_core4.LAYER_OFFSET.menu,
|
|
2349
2350
|
cursor: "default"
|
|
2350
2351
|
},
|
|
2351
2352
|
onPress: onClose
|
|
@@ -2370,8 +2371,7 @@ var MultiSelect = (0, import_react10.forwardRef)(
|
|
|
2370
2371
|
right: isWeb ? void 0 : 0,
|
|
2371
2372
|
width: isWeb ? menuPosition?.width : void 0,
|
|
2372
2373
|
marginTop: isWeb ? void 0 : 4,
|
|
2373
|
-
zIndex:
|
|
2374
|
-
// Above control (1000) and backdrop (999)
|
|
2374
|
+
zIndex: overlayLayer + import_xui_core4.LAYER_OFFSET.popover,
|
|
2375
2375
|
boxShadow: theme.shadow.popover
|
|
2376
2376
|
},
|
|
2377
2377
|
children: [
|