mkhstar / suneditor-react

A React Component for SunEditor (WYSIWYG editor)
http://suneditor.com/
423 stars 105 forks source link

z-index issues with editor sub menu and toolbar #364

Open Beslinda opened 2 months ago

Beslinda commented 2 months ago

Describe the bug I have the exact issue mentioned in here . The popover submenu of one editor gets hidden by the toolbar of the next one.

I tried the solution provided here although the default style is applied, the issue still persists .

ulri1122 commented 4 weeks ago

+1

Beslinda commented 3 weeks ago

For those that need a solution: I somehow fixed it by adding the following styles:

  .sun-editor {
    .se-wrapper {
      overflow: auto;
      z-index: unset;

      .se-wrapper-inner {
        overflow-y: visible;
        overflow-x: visible;
      }
    }
  }

  .se-toolbar {
    outline: none;
    z-index: unset;
  }