-
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
2.9.1 table components set height to 100% cause some problem #15806
Comments
it also cause. if set table height to |
same problem now
|
same problem now |
想设置响应式table高度 超过出现滚动条...现在全得修改 郁闷呀 |
using 2.9.0 everything is ok there |
give the el-table parent node a height, then give the el-table a samller height then set the el-table min-height 100%; |
Downgraded from 2.9.1 to 2.9.0 and it's OK now. |
提了一个 pr #16013 大家可以帮忙 review |
Version"element-ui": "^2.13.1",
"vue": "^2.5.16" Solution
<el-table
:data="tableData"
height="100%"
border
style="width: 100%"> |
这个方法有用! |
Element UI version
2.9.1
OS/Browsers version
mac/chrome
Vue version
2.6.10
Reproduction Link
https://codepen.io/ykl/pen/eaQWpR
Steps to reproduce
set height to 100% in component el-table
open any browser to see the height become 100px
surprise~
What is Expected?
the actual height become 100%
What is actually happening?
the actual height become 100px
The text was updated successfully, but these errors were encountered: