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

WordPress Trac noreply at wordpress.org
Mon Oct 16 05:07:06 UTC 2017


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

 * keywords:   => reporter-feedback
 * milestone:  4.9 => Awaiting Review


Comment:

 Sorry, I misunderstood. I was not aware of this behavior in Japanese text
 input. How does it work for a search input box? Does not hitting enter
 cause a search to be submitted?

 Here is where the enter `keyup` event is causing the item to be added:
 https://github.com/WordPress/wordpress-
 develop/blob/75034a401fcf44cc7d8949bf4584fb6b69f8ad15/src/wp-admin/js
 /customize-controls.js#L3545-L3549

 And where enter causes a new post/page stub to be added via the available
 nav menus panel: https://github.com/WordPress/wordpress-
 develop/blob/75034a401fcf44cc7d8949bf4584fb6b69f8ad15/src/wp-admin/js
 /customize-nav-menus.js#L578-L602

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


More information about the wp-trac mailing list