You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm guessing both keyup and keydown are triggered. If I keep pressing down the enter key, the click event will execute all the time. I think it should execute only once for a long press.
TuSimple/naive-ui version (版本)
2.20.3
Vue version (Vue 版本)
3.2.22
Browser and its version (浏览器及其版本)
Edge 80
System and its version (系统及其版本)
MacOS 10.15.7
Node version (Node 版本)
Reappearance link (重现链接)
https://codesandbox.io/s/nervous-morning-tpnof?file=/src/Demo.vue
Reappearance steps (重现步骤)
https://codesandbox.io/s/nervous-morning-tpnof?file=/src/Demo.vue.
Keyboard press enter will trigger the click event twice.
Expected results (期望的结果)
should trigger only once
Actual results (实际的结果)
redundant triggering
Remarks (补充说明)
The text was updated successfully, but these errors were encountered: