[wp-trac] [WordPress Trac] #42233: Customizer: New page is confirmed with Enter key
WordPress Trac
noreply at wordpress.org
Mon Oct 16 06:04:05 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:
-------------------------------+------------------------------
Comment (by miyauchi):
The JavaScript event will fire like following when we put `enter` key.
* `keydown` => `keypress` => `keyup`
But if we activated the Japanese input, then those event will be fired
like following.
* `keydown` => `keyup`
So, `keypress` will not be fired with the Japanese Input.
I guess we can detect submitting Japanese input with the `keypress` event.
I'll look into this behavior with the another browser and try to create
patch.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42233#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list