[wp-trac] [WordPress Trac] #42233: Customizer: New page is confirmed with Enter key
WordPress Trac
noreply at wordpress.org
Mon Oct 16 07:27:26 UTC 2017
#42233: Customizer: New page is confirmed with Enter key
--------------------------+-----------------------
Reporter: nukaga | Owner: miyauchi
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.9
Component: Customize | Version: trunk
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+-----------------------
Comment (by miyauchi):
@westonruter
> 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 thought so too, but if I changed the event to `keypress`, `keypress`
event wasn't fired at all.
I am not sure the reason why `keypress` event won't be fired.
But I tried `keydown` event, then It woks fine as expected.
So, this patch is using `keydown`.
Anyway, I found same problem at the inputting tag on edit post screen. :)
Thanks. :)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42233#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list