-
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] the width of table has been increased when scaling when #11420
Comments
Translation of this issue: Element UI version OS/Browsers version Vue version Reproduction Link Steps to reproduce What is Expected? What is actually happening? |
In chrome, it will show 'ResizeObserver loop limit exceeded' when the el-table-column does not set width. What should we do when the table need a adaptive width? |
I have encountered this same resizing issue but for me it only appears to happen in Chrome for Windows (also tested Chrome for Mac, Safari, and Firefox Mac) |
I think I have the save problem.when I print an El Table, its width always bigger than the page. this cause the page broken. |
I found that the issue was caused by the parent element where "display: flex" is defined, it could be caused by other layout library as well. This could be workaround but turning it off fixed this issue. And for my case it only happen in Firefox. |
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. |
提供一个Hack方案
|
fix ElemeFE#20678,fix ElemeFE#20605, fix ElemeFE#17642, fix ElemeFE#17639, fix ElemeFE#12866, fix ElemeFE#11420
@coderkeel 我使用的是element-plus,这个el-table里面没有resizeListener这个方法怎么解决? |
我也是,求解 |
ts 哪个文件里面写呢 |
Element UI version
2.4.0
OS/Browsers version
macOs 10.13.4/ chrome 67.0.3396.62(正式版本)
Vue version
2.5.15
Reproduction Link
https://jsfiddle.net/zaoyu/1jb64fbx/2/
Steps to reproduce
in chrome, el-table parentNode, style="display:table-cell", when narrowing page until the x-scroll bar is appeared, resizeListener event is trigger unceasing, the width of table has been increased unceasing
What is Expected?
the width of table is not increase
What is actually happening?
the width of table has been increased unceasing
The text was updated successfully, but these errors were encountered: