Make WordPress Core

Opened 4 years ago

Last modified 11 days ago

#37145 accepted defect (bug)

Admin submenu opens underneeth editor link tool

Reported by: Stoffe1 Owned by: valentinbora
Milestone: 5.5 Priority: low
Severity: minor Version: 4.5.2
Component: Administration Keywords: good-first-bug has-screenshots needs-design-feedback 2nd-opinion
Focuses: ui, css, administration Cc:


Sub menus of the admin menu opens underneath the editor's link tool. Possibly a z-index problem.


Attachments (3)

Screen Shot 2020-02-14 at 11.02.13 AM.png (65.6 KB) - added by valentinbora 3 months ago.
With Classic Editor
Screen Shot 2020-02-14 at 11.02.46 AM.png (51.4 KB) - added by valentinbora 3 months ago.
With Block Editor
37145-classic-editor.png (179.2 KB) - added by samful 11 days ago.

Download all attachments as: .zip

Change History (6)

#1 @valentinbora
3 months ago

  • Milestone set to 5.5
  • Owner set to valentinbora
  • Priority changed from normal to low
  • Severity changed from normal to minor
  • Status changed from new to accepted

Thank you so much for your ticket @Stoffe1 and welcome to WordPress Trac. We are sorry for the long time to reply, but all tickets matter!

3 months ago

With Classic Editor

#2 @valentinbora
3 months ago

  • Keywords good-first-bug has-screenshots added

Issue confirmed at [47289] with both Classic and Block editor.

#3 @samful
11 days ago

  • Focuses css added
  • Keywords needs-design-feedback 2nd-opinion added

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?

Note: See TracTickets for help on using tickets.