Skip to content
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

[Bug Report] [Bug Report] el-input-number is unusual in press button #9951

Closed
jerryWinhua opened this issue Mar 1, 2018 · 8 comments
Closed

Comments

@jerryWinhua
Copy link

Element UI version

2.2.0

OS/Browsers version

Chrome version 64.0.3282.186

Vue version

2.5.13

Reproduction Link

https://jsfiddle.net/Lvhcwuo3/1/

Steps to reproduce

Not continuou click the button.
Keep pressing the plus button and move out to the button.
stop press the mouse button
非持續click按鈕
持續按壓
游標移出按鈕區塊時 即可放開按鈕
1519868485796

What is Expected?

not continuou click button when the el-input-number Keep pressing the plus button
按鈕按壓時不會有連續click狀況

What is actually happening?

continuou click button

@element-bot
Copy link
Member

Translation of this issue:

Element UI version

2.2.0

OS/Browsers version

Chrome version 64.0.3282.186

Vue version

2.5.13

Reproduction Link

https://jsfiddle.net/Lvhcwuo3/1/

Steps to reproduce

Not continuou click the button.

Keep pressing the plus button and move out to the button.
Stop press the mouse button

Non continuous click button
Continuous pressing

When the cursor moves out of the button block, the button can be released
1519868485796

What is Expected?

Not continuou click button when the el-input-number Keep pressing the plus button

There is no continuous click condition when the button is pressed

What is actually happening?

Continuou click button

@Leopoldthecoder
Copy link
Contributor

untitled1

未能复现

@wacky6
Copy link
Contributor

wacky6 commented Mar 1, 2018

@Leopoldthecoder 多操作几次看看。我这里不稳定复现,可能是偶数次操作才有?

@jerryWinhua
Copy link
Author

@Leopoldthecoder @wacky6 兩位請嘗試這種方法 選取後再移出

1519898320795

@wacky6
Copy link
Contributor

wacky6 commented Mar 1, 2018

不是能很稳定的触发。
按住加号,往下移出组建范围(此时数字被选中)。然后重复这个动作。

qq20180301-212751

感觉这个操作序列在实际中并不是那么容易出现?

@Leopoldthecoder
Copy link
Contributor

加了个 @dragstart.prevent,应该是没问题了。

@jerryWinhua
Copy link
Author

@Leopoldthecoder 感謝您,非常成功

thank a lot

@pypwho
Copy link

pypwho commented Jan 5, 2023

加了个 @dragstart.prevent,应该是没问题了。

我这边加了在Safari浏览器下还是无效

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants