https://ant-design.antgroup.com/components/table-cn#scroll
虚拟列表与普通列表的scroll属性表现完全不一致 1.开启虚拟化,有的列不设width是为了适应弹性布局,但是虚拟列表必须配置scroll.x,导致需要根据每列宽度计算scroll.x,而无宽度列无法计算,也无法做到适应剩余空间 2.开启虚拟化,固定列的宽度会根据scroll.x计算,做不到固定宽度
尽量做到虚拟列表与普通列表的scroll属性表现一致
Environment | Info |
---|---|
antd | 5.9.4 |
React | 18.2.0 |
System | win11 |
Browser | 117.0.5938.92 |