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] InputNumber组件鼠标左右键一起按下会导致值一直自增加 #3514

Closed
devrsi0n opened this issue Mar 15, 2017 · 2 comments

Comments

@devrsi0n
Copy link

devrsi0n commented Mar 15, 2017

Element UI version

1.2.4

OS/Browsers version

Win7/Chrome 55

Vue version

2.2.4

Reproduction Link

http://element.eleme.io/#/zh-CN/component/input-number

Steps to reproduce

在 input-number 组件的“+”按钮上面鼠标左右键一起按下会导致组件值一直增加到最大值,且不能再减少。

What is Expected?

组件值 +1

What is actually happening?

组件值一直自加至最大值

@pengchongfu
Copy link
Contributor

按下左键触发timer,记录下timer的id;同时按下右键生成新的timer,记录下新的timer的id,原来timer并没有被清除。

因此每次生成新的timer前把原来的清除就好。

@Leopoldthecoder
Copy link
Contributor

Fixed in #3731

Akimyou pushed a commit to Akimyou/element that referenced this issue Mar 24, 2017
mdartic pushed a commit to mdartic/element that referenced this issue Mar 31, 2017
caikan pushed a commit to caikan/element that referenced this issue Apr 20, 2017
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

3 participants