Element UI version
2.4.5
OS/Browsers version
macOS Catalina 10.15.2 / Google Chrome 81.0.4044.122(正式版本) (64 位)
Vue version
2.6.10
Reproduction Link
Steps to reproduce
点击tab切换 table高度计算错误,超出范围
What is Expected?
高度保持不变
What is actually happening?
table高度超出
5条答案
按热度按时间vnjpjtjt1#
其实tab切换 我是用v-show切换的 但是达不到预期效果
oxalkeyp2#
我也碰到这个问题,插件更新后才出现的问题!
dbf7pr2w3#
现在通过设置max-height来替换原来的设置height临时解决
ljsrvy3e4#
现在通过设置max-height来替换原来的设置height临时解决
我之前是高度100%切换tab 用v-show来实现的 现在我给外边的div设置了高度(20vmin)就不会出现这种情况了 但是我之前使用flex弹性盒子布局的 现在就是临时解决了下 还不知道怎么根本解决呢
ergxz8rk5#
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.