-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Menu-bar pop-up menu-things only hide on blur, not on click #11579
Comments
Testing note: need to check this against the plugin to see if it happens here as well as with WP 5.0 beta. |
Confirming that this also happens in 4.9.x with Gutenberg 4.2 active. |
Quickly testing the plugin version 4.2.0 the buttons don't have a "pressed" style but clicking again on them does close the popups. Instead, on current Gutenberg master 26ccc15 clicking on the buttons again does nothing. Seems to be a regression in master? |
As best I can tell, this issue includes two actionable tasks:
This was a known compromise in transitioning focus to the modal to preserve tab order. It's not strictly unavoidable, but the technical implementation has proven challenging enough that it's been not likely to change anytime soon. See previously: #5595
This does appear to be a regression. I'll plan to tackle it today, including an end-to-end test to avoid similar future regressions. Edit: Fixed by #11633 |
Pull request fixing toggle behavior at #11633 |
Main issue for 5.0 has been handled, the ability to have pressed state without focus should be discussed further in future versions. |
Closing and moving the "pressed state" issue here: #6177 |
I assume that's meant to be #11937 |
Describe the bug
When clicking the buttons in the top menu-bar thing that have drop-downs (vertical ellipsis, block navigator, or content structure) clicking them makes a pop-up pointer thing appear, but there is no visual indication on how to make them disappear.
Clicking them again does not hide them. Hovering off of them makes them go flat, giving the appearance that the button is unaware that the menu exists.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
These look like menus, have drop-down pop-up menu box things, so they should work similarly.
Screenshots
Desktop (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: