WordPress.org

Make WordPress Core

Opened 5 years ago

Last modified 4 months ago

#31778 new defect (bug)

Opening the collapsed admin menu doesn't close toolbar submenus

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

Description

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.


5 years ago

#2 @MikeNGarrett
4 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:
https://s3.amazonaws.com/f.cl.ly/items/0x453a3a1S0t1M0p1q39/Screen%20Shot%202015-04-27%20at%205.21.02%20PM.png

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: http://the.digitalflan.com/anwN

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

Note: See TracTickets for help on using tickets.