[wp-trac] [WordPress Trac] #38091: Shortcut to collapse current control/section/panel is triggered when it shouldn't be

WordPress Trac noreply at wordpress.org
Mon Sep 19 04:46:58 UTC 2016


#38091: Shortcut to collapse current control/section/panel is triggered when it
shouldn't be
--------------------------+-------------------
 Reporter:  westonruter   |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  4.6.2
Component:  Customize     |    Version:  4.6
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-------------------
 In #22237 a keyboard shortcut ESC was added to collapse the currently-
 expanded control, section, or panel. This feature turns out to exhibit
 some unexpected behaviors when attempting to use the ESC key to collapse
 the color picker: it causes the entire section to collapse, not just the
 color picker. Also, if there are any custom modal dialogs or other
 elements (like TinyMCE toolbars) that don't trap the ESC `keydown` event,
 hitting ESC will not only cause the modal/toolbar to close but also
 collapse the current control or section.

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


More information about the wp-trac mailing list