[wp-trac] [WordPress Trac] #37145: Admin submenu opens underneeth editor link tool

WordPress Trac noreply at wordpress.org
Thu May 14 12:06:12 UTC 2020


#37145: Admin submenu opens underneeth editor link tool
-------------------------------------+-------------------------------------
 Reporter:  Stoffe1                  |       Owner:  valentinbora
     Type:  defect (bug)             |      Status:  accepted
 Priority:  low                      |   Milestone:  5.5
Component:  Administration           |     Version:  4.5.2
 Severity:  minor                    |  Resolution:
 Keywords:  good-first-bug has-      |     Focuses:  ui, css,
  screenshots needs-design-feedback  |  administration
  2nd-opinion                        |
-------------------------------------+-------------------------------------
Changes (by samful):

 * keywords:  good-first-bug has-screenshots => good-first-bug has-
     screenshots needs-design-feedback 2nd-opinion
 * focuses:  ui, administration => ui, css, administration


Comment:

 Removing this line:
 {{{z-index: 100100; /* Same as the other TinyMCE "panels" */}}}

 from the {{{div.mce-inline-toolbar-grp {}}} rule in the {{{wp-
 includes/css/editor.css}}}

 Solves the issue for the Classic Editor, but then the link tool appears
 behind the Admin Menu as in the screenshot below, is this the expected
 fix, or did you only want it to go behind the submenu?


 ----


 Making Gutenburg like this would involve targeting the {{{.components-
 popover}}} CSS class for each each popup you want to act this way, or
 making the z-index of it less than the menu's.


 ----


 At smaller screen/window sizes I would argue that this functionality would
 be missed and having a pop-up appear over the menu would be helpful. Can
 we get a second opinion on this?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/37145#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list