afc163
afc163
增加了 sticky 属性后,由于表头和表体在技术上分成了两个原生 table,两个 table 的列宽无法自动同步,因此两个 table table-layout 被设定为 fixed 从而保证列是对齐的。这种情况是预期的。 这种情况下需要手动添加列的宽度保证内容不被挤压。https://codesandbox.io/p/sandbox/ji-ben-yong-fa-antd-5-21-4-forked-4glk2z?file=%2Fdemo.tsx%3A64%2C20
https://github.com/ant-design/ant-design/pull/45515 搞了一半,谁来继续搞完就能支持了。
Supported in https://github.com/ant-design/ant-design/issues/45898
Try https://github.com/ant-design/ant-design/pull/49410/files#diff-ced6f422d0110bd90abedf7125f0750aa55da83ce91906821a21a8c857a912c4R45
@MadCcc Can't make it after trying.
Problem still existed
https://github.com/react-component/select/pull/1189