ElemeFE / element

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

[Bug Report] Slider和Div设置height:100% 在一起产生滑块出现黑色模块 #19728

Open luludada opened 4 years ago

luludada commented 4 years ago

Element UI version

2.13.2

OS/Browsers version

MacOS10.15.1 / Chrome 83.0.4103.106

Vue version

2.9.6

Reproduction Link

https://codepen.io/ymy0801/pen/oNbWRzg

Steps to reproduce

  1. 加入el-slider
  2. 在style里填写div: height: 100%

What is Expected?

slider和没有加div: height: 100%一样正常工作

What is actually happening?

当slider拖到到某一个点上,会直接出现一个黑色的block 截屏2020-06-24下午3 43 26

luludada commented 4 years ago

One option is set show-tooltip as false, but I am wondering if there is other solution.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.