Yuki Takei 2 лет назад
Родитель
Сommit
13dc1ce6fe
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      packages/remark-drawio/src/components/DrawioViewer.tsx

+ 2 - 2
packages/remark-drawio/src/components/DrawioViewer.tsx

@@ -71,8 +71,8 @@ export const DrawioViewer = memo((props: DrawioViewerProps): JSX.Element => {
         try {
           GraphViewer.useResizeSensor = false;
           GraphViewer.prototype.checkVisibleState = false;
-          GraphViewer.prototype.lightboxZIndex = 1200;
-          GraphViewer.prototype.toolbarZIndex = 1200;
+          GraphViewer.prototype.lightboxZIndex = 1055; // set $zindex-modal
+          GraphViewer.prototype.toolbarZIndex = 1055; // set $zindex-modal
           GraphViewer.createViewerForElement(div);
         }
         catch (err) {