KeyboardEvent.key always undefined?
-
A Former User last edited by
According to the spec,
KeyboardEvent.key
can never be undefined: https://w3c.github.io/uievents/#key-algorithmActually, it is always undefined with all of
keydown
,keypress
andkeyup
and onlyKeyboardEvent.code
is available? I just can't believe it …