[wp-trac] [WordPress Trac] #62431: Inconsistant behavior of the pattern block hamburger modal popup in site editor

WordPress Trac noreply at wordpress.org
Thu Nov 14 18:41:42 UTC 2024


#62431: Inconsistant behavior of the pattern block hamburger modal popup in site
editor
--------------------------+-----------------------------
 Reporter:  rickers       |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Editor        |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Demonstration steps:
 1. "appearance"->"editor"->"patterns"->"all patterns", pick an
 ''unlocked'' pattern's hamburger icon (to get more options in popup to
 demonstrate the inconsistancy)
 2. behavior A:
    1. select popup action "export as json" and observe the modal has been
 closed in the background.
    2. click "cancel" in file select modal and observe hamburger popup
 remains closed.
 2. behavior B:
    1. select hamburger action "rename" and observe the modal is still open
 in the background
    2. click "cancel" on rename modal and observe the hambeurger popup
 remains visible

 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?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62431>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list