0.1.0
Win7 / Chrome 79.0.3945.88
2.6.11
None
在slider组件上拖动滑块至临界点,鼠标继续拖动至组件外边松开,滑块的tooltip弹窗依旧存在,没有消失。官网的事例中也存在此问题
在slider组件上拖动滑块至临界点,鼠标继续拖动至组件外边松开,滑块的tooltip弹窗依旧存在,没有消失。官网的事例中也存在此问题
鼠标拖动至组件界外松开后,tooltip应当消失
Translation of this issue:
0.1.0
Win7 / Chrome 79.0.3945.88
2.6.11
None
Drag the slider on the slider component to the critical point, and then drag the mouse to the outside of the component to release. The tooltip pop-up window of the slider still exists and does not disappear. This problem also exists in the case of official website
Drag the slider on the slider component to the critical point, and then drag the mouse to the outside of the component to release. The tooltip pop-up window of the slider still exists and does not disappear. This problem also exists in the case of official website
After the mouse is dragged outside the component boundary and released, the tooltip should disappear
Hi, I got this problem too, by reading the source code I found the solution.
First, add a ref property for your slider compnent, like the following,
<el-slider
@change="change"
ref="timeSlider">
</el-slider>
then, in the change listener of el-slider, do this,
change(val){
// 消除可能不会消失的时间弹出
this.$refs["timeSlider"].$refs["button1"].handleMouseLeave();
this.$refs["timeSlider"].$refs["button2"].handleMouseLeave();
}
hope it can help.
Hi, I got this problem too, by reading the source code I found the solution.
First, add a ref property for your slider compnent, like the following,
<el-slider @change="change" ref="timeSlider"> </el-slider>then, in the change listener of el-slider, do this,
change(val){ // 消除可能不会消失的时间弹出 this.$refs["timeSlider"].$refs["button1"].handleMouseLeave(); this.$refs["timeSlider"].$refs["button2"].handleMouseLeave(); }hope it can help.
Tks Man~~
This method can solve my problem, but if i use more el-slider components, it's still troublesome.
Hope the team fix this bug quicky.
If they should fix that, I suggest to let the issue open
Most helpful comment
Hi, I got this problem too, by reading the source code I found the solution.
First, add a ref property for your slider compnent, like the following,
<el-slider @change="change" ref="timeSlider"> </el-slider>then, in the change listener of el-slider, do this,
change(val){ // 消除可能不会消失的时间弹出 this.$refs["timeSlider"].$refs["button1"].handleMouseLeave(); this.$refs["timeSlider"].$refs["button2"].handleMouseLeave(); }hope it can help.