vueComponent / ant-design-vue

🌈 An enterprise-class UI components based on Ant Design and Vue. 🐜
https://antdv.com/
Other
20.29k stars 3.79k forks source link

Table组件的Scroll属性,建议给纵向(Y)也增加一个'max-content' #7903

Open luoxing66 opened 3 weeks ago

luoxing66 commented 3 weeks ago

What problem does this feature solve?

当table外层容器的宽高是自适应时,希望table组件能撑满显示,目前横向(x)没有问题,可使用'max-content'值,但是纵向(y)不行,只能写固定数值,或者需要用js计算

What does the proposed API look like?

同scroll属性的x一样,可使用'max-content'值