Open liuquanzhang opened 4 years ago
其实tab切换 我是用v-show切换的 但是达不到预期效果
我也碰到这个问题,插件更新后才出现的问题!
现在通过设置max-height来替换原来的设置height临时解决
现在通过设置max-height来替换原来的设置height临时解决
我之前是高度100%切换tab 用v-show来实现的 现在我给外边的div设置了高度(20vmin)就不会出现这种情况了 但是我之前使用flex弹性盒子布局的 现在就是临时解决了下 还不知道怎么根本解决呢
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.
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
https://codepen.io/pen?__cf_chl_jschl_tk__=e2bd1a98d7c0c42aa982db0a8ff7523669a38841-1587887974-0-ASLCTxtF-7r4Cq3aY0GsGEgvL3khdUnZqCB9egyh4xbX9iUwgRN1g4epLXU5UquxqByoKN_sUR17Bg1xBdXuPvHhgTD1_GrvP9spch0hlCnJjV5T78QycgB6DikspUilaC-3H5Ayx7yEZ3RUAthUfHXZhYbckyx-vK-83HRuZQGkblJ8fK97xUksHdXfumkOcV3r9MSfe3RnjHTdr4gwvLL8sNOy01tqnd9yThOdqThby5AwnAUJgPLK81D_u3SYP3YYsCh0bfm0oTUDwF7FX1MbvLi7fI75PraJ48IewtT80QVOwStKKvICw1WPUtdwNFz-LJUluu02N3mhWP_j-Po
Steps to reproduce
点击tab切换 table高度计算错误,超出范围
What is Expected?
高度保持不变
What is actually happening?
table高度超出