pro-components icon indicating copy to clipboard operation
pro-components copied to clipboard

🐛[BUG] Drag columns don't work correctly in some cases.

Open doiya46 opened this issue 3 years ago • 0 comments

🐛 bug 描述

📷 复现步骤

Steps to reproduce

  1. Move fixed column from right to to left and undo (move that column from left to right)
  2. Drag first column (容器数量) in middle section (except fixed right and left sections) to the second one.
  3. Expect first column in second place but the result was in third place.

Gif:

Peek 2022-11-01 21-55

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: Peek 2022-11-01 21-31

🏞 期望结果

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"
  },

doiya46 avatar Nov 01 '22 15:11 doiya46