New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BREAKING: Use KeyboardEvent.key instead of keyCode #1940
Conversation
11ef596
to
649a299
Compare
Codecov Report
@@ Coverage Diff @@
## dev #1940 +/- ##
==========================================
+ Coverage 65.19% 65.44% +0.25%
==========================================
Files 71 71
Lines 2945 2952 +7
Branches 980 956 -24
==========================================
+ Hits 1920 1932 +12
+ Misses 947 942 -5
Partials 78 78
Continue to review full report at Codecov.
|
649a299
to
19e1055
Compare
I think we should discuss using key.code too. What do you think about it? |
Maybe. Right now, I dont know in which case it would be useful. https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/code Since the physical key can be really different between different keyboard (AZERTY vs QWERTY for example)
|
19e1055
to
dcdf625
Compare
BREAKING CHANGE