pro-components
pro-components copied to clipboard
đ[BUG] Drag columns don't work correctly in some cases.
đ bug ćčż°
đˇ ĺ¤ç°ćĽéޤ
Steps to reproduce
- Move fixed column from right to to left and undo (move that column from left to right)
- Drag first column (厚ĺ¨ć°é) in middle section (except fixed right and left sections) to the second one.
- Expect first column in second place but the result was in third place.
Gif:

Code sandbox: https://codesandbox.io/s/test-fixed-columns-then-click-reset-on-setting-092t0h?file=/App.tsx
I also test on Office document in Downgrade to a normal table https://procomponents.ant.design/en-US/components/table/?current=1&pageSize=5#downgrade-to-a-normal-table
This is result Gif:

đ ććçťć
Drag working correctly
Š çćŹäżĄćŻ
Ubuntu 20.04 / codesandbox
"dependencies": {
"@ant-design/icons": "4.7.0",
"@ant-design/pro-components": "2.3.26",
"antd": ">=4.20.0",
"react": ">=16.9.0",
"react-dom": ">=16.9.0"
},