Closed willeastcott closed 1 year ago
KeyboardEvent.keyCode is deprecated.
KeyboardEvent.keyCode
Instead, it is recommended to use KeyboardEvent.key instead. This PR migrates all occurrences of keyCode with key. It is better since key values are human readable.
KeyboardEvent.key
keyCode
key
Note that KeyboardEvent.key now has 98.32% browser support: https://caniuse.com/keyboardevent-key
KeyboardEvent.keyCode
is deprecated.Instead, it is recommended to use
KeyboardEvent.key
instead. This PR migrates all occurrences ofkeyCode
withkey
. It is better sincekey
values are human readable.Note that
KeyboardEvent.key
now has 98.32% browser support: https://caniuse.com/keyboardevent-key