Make WordPress Core

Opened 9 years ago

Last modified 5 years ago

#31778 new defect (bug)

Opening the collapsed admin menu doesn't close toolbar submenus

Reported by: helen's profile helen Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: General Keywords: needs-patch
Focuses: ui, javascript, administration Cc:


On a narrow touch device, toolbar dropdowns only open one at a time, but opening the admin menu does not close any dropdowns and is shown behind any open dropdowns, making it impossible to get to any of the higher items. This is particularly bad because you can't always close the submenu (see #29906). Opening the admin menu should close any other toolbar dropdowns - it's fine to continue to have toolbar dropdowns open over the admin menu if it's already open.

Change History (2)

This ticket was mentioned in Slack in #core by seanchayes. View the logs.

9 years ago

#2 @MikeNGarrett
9 years ago

Hi Helen,

I ran through what I understood as your use case. I want to understand the details to make sure I'm not missing anything.

I have the site rendering at 320x480. I've opened the admin bar tooltip item (+) and the admin menu. See below:

I am able to close the admin menu by clicking the hamburger menu icon. I can close the admin bar tooltip by clicking in the area to the bottom right (near "code" in the image above).

I understand this is not ideal. Could this be fixed by having an event trigger when you tap the hamburger menu to close all admin bar tooltip menus? See video example:

I can see this would be an issue if the admin bar tooltip was too long.

Note: See TracTickets for help on using tickets.