[wp-trac] [WordPress Trac] #42233: Customizer: New page is confirmed with Enter key

WordPress Trac noreply at wordpress.org
Mon Oct 16 06:43:24 UTC 2017


#42233: Customizer: New page is confirmed with Enter key
--------------------------+-----------------------
 Reporter:  nukaga        |       Owner:  nukaga
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  4.9
Component:  Customize     |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+-----------------------
Changes (by westonruter):

 * keywords:  reporter-feedback => needs-patch
 * owner:  westonruter => nukaga
 * status:  accepted => assigned
 * milestone:  Awaiting Review => 4.9


Comment:

 @miyauchi Excellent. Yes, and I see that in the case of the available nav
 menus panel it //is// currently using `keypress`:
 https://github.com/WordPress/wordpress-
 develop/blob/75034a401fcf44cc7d8949bf4584fb6b69f8ad15/src/wp-admin/js
 /customize-nav-menus.js#L164

 Whereas it is using `keyup` event in the dropdown-pages control. So
 apparently if we just switch this to use `keypress` that could be all that
 needs to be done? I'll let you confirm with a patch. Thanks!

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


More information about the wp-trac mailing list