We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
2.20.1
3.2.21
Chrome
Win11
https://codesandbox.io/s/thirsty-kare-y3wnp?file=/src/Demo.vue:173-190
As the first button shows, when i set 'keyboard' to 'false', keyboard event like SPACE and ENTER is still working.
if I set 'keyboard' to 'false', it means i never wanna a keyboard event, so prevent it.
I have to set @keydown.prevent, @keyup.prevent and :keyboard="false", so that I can prevent the keyboard event.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
TuSimple/naive-ui version (版本)
2.20.1
Vue version (Vue 版本)
3.2.21
Browser and its version (浏览器及其版本)
Chrome
System and its version (系统及其版本)
Win11
Node version (Node 版本)
Reappearance link (重现链接)
https://codesandbox.io/s/thirsty-kare-y3wnp?file=/src/Demo.vue:173-190
Reappearance steps (重现步骤)
As the first button shows, when i set 'keyboard' to 'false', keyboard event like SPACE and ENTER is still working.
Expected results (期望的结果)
if I set 'keyboard' to 'false', it means i never wanna a keyboard event, so prevent it.
Actual results (实际的结果)
I have to set @keydown.prevent, @keyup.prevent and :keyboard="false", so that I can prevent the keyboard event.
Remarks (补充说明)
The text was updated successfully, but these errors were encountered: