ant-design Sorting on a table with the sticky prop and fixed columns breaks alignment

jhdbpxl9  于 3个月前  发布在  其他
关注(0)|答案(1)|浏览(40)

Steps to reproduce

  • Create an Ant Design Table with at 10 or so columns and at least 1 fixed column on the left
  • Add the sorter property to all columns
  • Set the sticky property on the table
  • Using the tab key, navigate to the last column

What is expected?

The table should focus the last column and move the entire table to the right ensuring the table header columns and row data columns are aligned.

What is actually happening?

The table header columns move to the right but the row data columns do not causing misalignment.

EnvironmentInfo
antd5.15.4
React17.0.2
SystemMacOS
BrowserChrome

相关问题