-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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] Dialog里嵌套有Select的Table,当Dialog出现滚动条时,Select 下拉框位置错误 #3952
Comments
@Leopoldthecoder @QingWei-Li 有空请麻烦看一下 谢谢 |
比较难处理,考虑今天晚些时候发布的新版本中先暂时支持一下,根本解决还需要时间。 |
@Leopoldthecoder 昨晚更新了之后 这个https://jsfiddle.net/az8ttec8/1/ demo确实支持了这个问题……但是,刚好我们项目用的模态框是自己写的 就不行了……看了你们的Dialog源码发现当打开模态框时会绑定一个滚动事件去更新各种下拉框的top值“this.$el.addEventListener('scroll', this.updatePopper);” |
https://jsfiddle.net/az8ttec8/2/ 刚试了一下,发现日期选择器是不行的……难道是因为 |
对,昨天的版本只是紧急支持了这两个。自己处理的话,Element 所有下拉框的 DOM 元素都带有 |
好的 谢谢你 |
* Popper: workaround for ElemeFE#3952 * Changelog: update for 1.2.8
在windows也不行 |
Element UI version
1.2.7
OS/Browsers version
chrome57
Vue version
2.2.6
Reproduction Link
https://jsfiddle.net/uonhh83t/
Steps to reproduce
Dialog里嵌套有Select的Table,当Dialog有滚动条并滚动时,Select 下拉框top值没有相应改变
What is Expected?
Dialog里嵌套有Select的Table,当Dialog有滚动条并滚动时,Select 下拉框top值应根据滚动偏移量相应变化
What is actually happening?
Dialog里嵌套有Select的Table,当Dialog有滚动条并滚动时,Select 下拉框top值没有相应改变
The text was updated successfully, but these errors were encountered: