naive-ui
naive-ui copied to clipboard
数字控件双击后数字会一直增加,无法停止
TuSimple/naive-ui version (版本)
2.32.2-beta.0
Vue version (Vue 版本)
3.2.37
Browser and its version (浏览器及其版本)
chrome
System and its version (系统及其版本)
windows10
Node version (Node 版本)
Reappearance link (重现链接)
https://www.naiveui.com/zh-CN/os-theme/components/input-number
Reappearance steps (重现步骤)
https://s3.bmp.ovh/imgs/2022/08/11/8815a173de34f344.gif
Expected results (期望的结果)
不应该一直增加才对
Actual results (实际的结果)
数字输入 Input Number 双击增加位置,数字会一直增加,无法停止
Remarks (补充说明)
我在自己的代码里面 2.32.1 也碰到了这个问题,双击减号也会触发。但是在文档上我却复现不出来。感觉像是按住的事件被一直触发了.
this might be a duplicate of #3329
can't reproduce it 无法复现 https://user-images.githubusercontent.com/39197136/184137357-de3d0d29-abed-4598-aacf-58a47b424d95.mp4
can't reproduce it 无法复现 https://user-images.githubusercontent.com/39197136/184137357-de3d0d29-abed-4598-aacf-58a47b424d95.mp4
you have to click pretty fast. https://github.com/tusen-ai/naive-ui/issues/3329#issuecomment-1198350120
does only happen in 3/10 cases
Seem to be a tricky bug. We will try to fix it soon.
duplicate, track it in https://github.com/tusen-ai/naive-ui/issues/3329