ElemeFE / element

A Vue.js 2.0 UI Toolkit for Web
https://element.eleme.io/
MIT License
54.13k stars 14.64k forks source link

The [Bug Report] Silder slider component causes the slider to automatically jump to the minimum when you click the slider #6357

Closed jxytb closed 7 years ago

jxytb commented 7 years ago

Element UI version

1.4.1

OS/Browsers version

windows10 Firefox Chrome IE10

Vue version

2.2.6

Reproduction Link

https://jsfiddle.net/pj71jkyw/446/

Steps to reproduce

当Silder滑块组件初始化时被赋予了初始值之后,直接单击滑块组件上的按钮,会直接导致滑块跳到最小值的位置,如果是range模式,两个按钮都会发生这种问题,这个官网样例上也能重现这个问题的。http://element.eleme.io/#/zh-CN/component/slider

What is Expected?

不应该跳到最小值

What is actually happening?

滑块按钮跳到最小值

element-bot commented 7 years ago

Translation of this issue:

Element UI version

1.4.1

OS/Browsers version

Windows10 Firefox Chrome IE10

Vue version

2.2.6

Reproduction Link

https://jsfiddle.net/pj71jkyw/446/

Steps to reproduce

When the Silder slider assembly initialization is given an initial value, click the button on the slider assembly, will directly lead to the slider jump to the minimum position, if it is range mode, the two button to have this problem, the official website of sample is able to reproduce the problem. Http://element.eleme.io/#/zh-CN/component/slider

What is Expected?

You should not jump to the minimum

What is actually happening?

The slider button jumps to the minimum

Leopoldthecoder commented 7 years ago

Fixed in #6359