Closed Gregg8 closed 7 months ago
When determining what key was pressed in keyboard event handlers, we examine various properties:
which
drop-down
input-text
typeahead
keyCode
input-time
Both of these are now deprecated, so they should all be switched to use the key property - info
key
Thanks to: https://github.com/Day8/re-frame-10x/issues/231
Some additional info, in case it would be useful:
keyCode is supported by all browsers. (According to caniuse.com)
key not as much. https://caniuse.com/#search=keyboardevent.key
When determining what key was pressed in keyboard event handlers, we examine various properties:
which
is used bydrop-down
,input-text
andtypeahead
keyCode
is used byinput-time
Both of these are now deprecated, so they should all be switched to use the
key
property - infoThanks to: https://github.com/Day8/re-frame-10x/issues/231