2.9.1
mac/chrome
2.6.10
https://codepen.io/ykl/pen/eaQWpR
set height to 100% in component el-table
open any browser to see the height become 100px
surprise~
the actual height become 100%
the actual height become 100px
it also cause. if set table height to calc(100vh - 260px)
same problem now
I solve it with
<el-table style="height: calc(100vh - 225px); overflow: auto;">
same problem now
waiting
想设置响应式table高度 超过出现滚动条...现在全得修改 郁闷呀
之前项目的height:100%全失效了

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%;
like this min-height100%
using 2.9.0 everything is ok there
Downgraded from 2.9.1 to 2.9.0 and it's OK now.
提了一个 pr #16013 大家可以帮忙 review
"element-ui": "^2.13.1",
"vue": "^2.5.16"
height="100%" works for me
<el-table
:data="tableData"
height="100%"
border
style="width: 100%">
give the el-table parent node a height, then give the el-table a samller height then set the el-table min-height 100%;
like this min-height100%
这个方法有用!
Most helpful comment
give the el-table parent node a height, then give the el-table a samller height then set the el-table min-height 100%;
like this min-height100%