[wp-trac] [WordPress Trac] #63759: Replace event.keyCode with event.key
WordPress Trac
noreply at wordpress.org
Tue Jul 29 08:32:17 UTC 2025
#63759: Replace event.keyCode with event.key
-------------------------+------------------------------
Reporter: joedolson | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: minor | Resolution:
Keywords: | Focuses: javascript
-------------------------+------------------------------
Comment (by jonsurrell):
[https://github.com/WordPress/gutenberg/tree/trunk/packages/keycodes
There's an entire @wordpress/keycodes package] that relies on `keyCode`. I
wonder how best to handle that. Much of the package defines constants to
deal with `keyCode`. Do you have thoughts on what should be done with that
package?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63759#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list