-
-
Notifications
You must be signed in to change notification settings - Fork 413
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
下一版可以用event.code代替event.keyCode吗? #445
Comments
@YuxuanWeng 下一个版本会舍弃一些兼容代码,但是 |
哦哦,好的,那有没有在event.code空的时候再使用keyCode呢?我目前是单对229的场景做了下兼容
|
Lines 231 to 237 in 031bc4d
@YuxuanWeng 是不是上面的问题,目前没有办法测试数字键的问题 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
目前keyCode已经废弃蛮久的了(https://developer.mozilla.org/zh-CN/docs/Web/API/KeyboardEvent/keyCode)
keyCode目前发现,在input中使用shift+数字/字母的快捷键是,会遇到keyCode===229的情况,以及shift+小键盘按键的时候也会出现识别问题
The text was updated successfully, but these errors were encountered: