You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is my expectation that the "hamburger popup" would be dismissed when it is clicked (as it is doing "copy to json", regardless of whether or not the user cancelled the resulting action.
I can understand that some might think it better to leave the hamburger popup open after an in-action "cancel", but the current behavior is inconsistent.
In my opinion this is a bug and the correct action is to dismiss the hamburger modal when it is clicked. Thoughts?
Step-by-step reproduction instructions
Demonstration steps:
"appearance"->"editor"->"patterns"->"all patterns", pick an unlocked pattern's hamburger icon (to get more options in popup to demonstrate the inconsistancy)
behavior A:
select popup action "export as json" and observe the modal has been closed in the background.
click "cancel" in file select modal and observe hamburger popup remains closed.
behavior B:
select hamburger action "rename" and observe the modal is still open in the background
click "cancel" on rename modal and observe the hambeurger popup remains visible
This report validates that issue regarding inconsistent behavior of the hamburger popup in the Patterns screen can be reproduced. Specifically, the popup closes after selecting “Export as JSON” but remains open after selecting “Rename.”
Environment
Go to Appearance > Editor > Patterns > All Patterns.
Click Add New Pattern to create a test pattern.
After saving the new pattern, click the hamburger icon on the new pattern to open the options popup.
Behavior A:
Select “Export as JSON” from the popup.
Observe that the hamburger popup closes immediately.
Behavior B:
Click the hamburger icon again on the same pattern, and select “Rename” from the popup.
Observe that the hamburger popup remains open.
In the rename modal, click “Cancel.”
Observe that the hamburger popup remains visible.
I make the case that the block-pattern's hamburger is a block-pattern nav-menu or action-menu. A nav-menu closes when you pick an item (think window menu bar). Additionally, in the case of a locked pattern, the only choice is duplicate, and if you cancel the "duplicate action" it's unlikely you will want to do it again, yet the nav-menu remains. If you do duplicate the block the menu remains, as if you might want to duplicate it again.
If I rename the block, the nav-menu remains so I can rename it again, I suppose, without re-selecting the hamburger. I don't call that convenience - rather annoyance. Only the "export as json" closes the hamburger nav-menu as it should IMHO.
Description
Originally reported on trac by @rick2414
https://core.trac.wordpress.org/ticket/62431
It is my expectation that the "hamburger popup" would be dismissed when it is clicked (as it is doing "copy to json", regardless of whether or not the user cancelled the resulting action.
I can understand that some might think it better to leave the hamburger popup open after an in-action "cancel", but the current behavior is inconsistent.
In my opinion this is a bug and the correct action is to dismiss the hamburger modal when it is clicked. Thoughts?
Step-by-step reproduction instructions
Demonstration steps:
Screenshots, screen recording, code snippet
No response
Environment info
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.
The text was updated successfully, but these errors were encountered: