@primestyleai/tryon 5.6.6 → 5.6.7
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/react/index.js +4 -1
- package/package.json +1 -1
package/dist/react/index.js
CHANGED
|
@@ -5335,7 +5335,10 @@ function LangSwitcher({ activeLocale: current, onSelect }) {
|
|
|
5335
5335
|
position: "fixed",
|
|
5336
5336
|
top: pos.top,
|
|
5337
5337
|
right: pos.right,
|
|
5338
|
-
|
|
5338
|
+
// Match the overlay's z-index (2147483647) so the dropdown sits
|
|
5339
|
+
// above it. With equal z-index, document order wins — and the
|
|
5340
|
+
// dropdown is portaled later than the overlay so it stacks on top.
|
|
5341
|
+
zIndex: 2147483647
|
|
5339
5342
|
},
|
|
5340
5343
|
children: /* @__PURE__ */ jsx("div", { className: "ps-tryon-lang-list", children: SUPPORTED_LOCALES.map((code) => /* @__PURE__ */ jsxs(
|
|
5341
5344
|
"button",
|