@1urso/generic-editor 0.1.5 → 0.1.6
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/generic-editor.js
CHANGED
|
@@ -8250,6 +8250,7 @@ const ElementContextMenu = ({ children: s, element: d }) => {
|
|
|
8250
8250
|
}),
|
|
8251
8251
|
V && createPortal(/* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("div", {
|
|
8252
8252
|
className: "custom-context-menu-overlay",
|
|
8253
|
+
style: { zIndex: 2147483646 },
|
|
8253
8254
|
onClick: qD,
|
|
8254
8255
|
onContextMenu: (s) => {
|
|
8255
8256
|
s.preventDefault(), qD();
|
|
@@ -8258,7 +8259,8 @@ const ElementContextMenu = ({ children: s, element: d }) => {
|
|
|
8258
8259
|
className: "custom-context-menu",
|
|
8259
8260
|
style: {
|
|
8260
8261
|
top: Math.min(V.y, window.innerHeight - 300),
|
|
8261
|
-
left: Math.min(V.x, window.innerWidth - 250)
|
|
8262
|
+
left: Math.min(V.x, window.innerWidth - 250),
|
|
8263
|
+
zIndex: 2147483647
|
|
8262
8264
|
},
|
|
8263
8265
|
children: [
|
|
8264
8266
|
/* @__PURE__ */ jsxs(SubMenu, {
|