diff --git a/components/table/style/sorter.ts b/components/table/style/sorter.ts index d5bba71251..d9c9b30e25 100644 --- a/components/table/style/sorter.ts +++ b/components/table/style/sorter.ts @@ -10,7 +10,9 @@ const genSorterStyle: GenerateStyle = (token) => { [`${componentCls}-thead th${componentCls}-column-has-sorters`]: { outline: 'none', cursor: 'pointer', - transition: `all ${token.motionDurationSlow}`, + // why left 0s? Avoid column header move with transition when left is changed + // https://github.com/ant-design/ant-design/issues/50588 + transition: `all ${token.motionDurationSlow}, left 0s`, '&:hover': { background: token.tableHeaderSortHoverBg,