[wp-trac] [WordPress Trac] #40981: Customizer: Menus: it is far too easy to mistakenly delete a menu because the "Delete Menu" link and the "Add Items" button are too close together

WordPress Trac noreply at wordpress.org
Fri Jun 9 23:10:27 UTC 2017


#40981: Customizer: Menus: it is far too easy to mistakenly delete a menu because
the "Delete Menu" link and the "Add Items" button are too close together
-------------------------------------+--------------------
 Reporter:  designsimply             |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  4.8.1
Component:  Menus                    |     Version:  4.7.4
 Severity:  major                    |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  ui
-------------------------------------+--------------------
Changes (by westonruter):

 * keywords:  has-patch => has-patch needs-testing


Comment:

 Found another defect missed in [40396] and that is if the item addition
 panel is open, if you click the Delete Menu button it is not resulting in
 it being closed. This is due to the `event.stopPropagation()` in the click
 handler, which I believe is superfluous when the feature was first
 introduced in [32806].

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40981#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list