-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
The Height Attribute Problem of [Bug Report] Table #15858
Comments
Translation of this issue: Element UI version2.9.1 OS/Browsers versionWinos10/Google Chrome version 73.0.3683.86 (official version) (64 bits) Vue version2.6.10 Reproduction LinkHttps://codepen.io/aime1991/pen/arXpyP Steps to reproduce<el-table Data= "tableData" Height= "100%" The height is set to 100%, but the actual page shows 100 px. What is Expected?When the height is set to 100%, it should be 100% in the actual page; it should remain unchanged from version 2.5.4. What is actually happening?When height is set to 100%, it is 100px in the actual page. |
I also encountered the same problem. Is there a solution? |
版本降级,降到2.9.0就可以了 |
我已经降级处理了,有啥比较实用的锁定版本号的方案?我使用package-lock.json未生效 |
删除package-lock.json,在package.json中这样写"element-ui": "2.9.0", 然后再npm install |
我刚刚升级也发现这个问题了, |
删除package-lock.json,在package.json中这样写"element-ui": "2.9.0", 然后再npm install |
|
类似 issue #15806 |
上一个版本的实现是好的:
|
提了一个 pr #16013 大家可以帮忙 review |
Element UI version
2.9.1
OS/Browsers version
windos10/Google Chrome版本 73.0.3683.86(正式版本) (64 位)
Vue version
2.6.10
Reproduction Link
https://codepen.io/aime1991/pen/arXpyP
Steps to reproduce
其中height设置为100%,但是在实际的页面中显示的是100px。
在版本2.5.4中这样设置,在实际页面中显示的是100%。
What is Expected?
height设置为100%时,在实际页面中应该是 100%;和版本2.5.4保持一直。
What is actually happening?
height设置为100%时,在实际页面中是100px
The text was updated successfully, but these errors were encountered: