ant-design / ant-design/pro-components
🐛[BUG] ProTable columnsState 设置defaultValue后,设置里拖拽列排序会使固定列取消固定
- Dominant language
- TypeScript
- Stars
- 4.8k
- Forks
- 1.4k
- Avg merge
- 10h 44m
- Merged PRs (30d)
- 3
Description
### 🐛 bug 描述
如题
### 📷 复现步骤
点击设置,拖拽列排序
### 🏞 期望结果
### 💻 复现代码

https://stackblitz.com/edit/react-zdgdnc?file=App.tsx
### © 版本信息
- ProComponents 版本: [2.6.49]
- umi 版本 4.1.1
- 浏览器环境 chrome latest
- 开发环境 [Windows 11]
### 🚑 其他信息
https://github.com/ant-design/pro-components/assets/6482819/9b7c8c82-0d5b-400e-9f46-9b0cf686213f
Contributor guide
Research direction
Start with the linked StackBlitz reproduction in App.tsx and reproduce the issue using ProTable with columnsState.defaultValue. Trace the column settings drag-to-reorder behavior and verify that fixed columns remain fixed after reordering. The issue is complete when the reproduction no longer cancels fixed-column settings.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100