ant-design / ant-design/pro-components
🐛[BUG] DragSortTable 在有滚动条的页面拖到顶部排序后,页面滚动条会始终回到顶部
- Dominant language
- TypeScript
- Stars
- 4.8k
- Forks
- 1.4k
- Avg merge
- 10h 44m
- Merged PRs (30d)
- 3
Description
### 🐛 bug 描述
当页面有滚动条时,滚动页面后,将表格底部的项目向上拖动一直滚动条回到顶部,此时页面滚动条无法向下滚动
### 📷 复现步骤
https://github.com/ant-design/pro-components/assets/10346399/495da125-615e-4539-b18e-370e91c7042e
[https://codesandbox.io/p/sandbox/tuo-zhuai-pai-xu-forked-53txq5](https://codesandbox.io/p/sandbox/tuo-zhuai-pai-xu-forked-53txq5)
### 🏞 期望结果
页面功能正常使用
### 💻 复现代码
[https://codesandbox.io/p/sandbox/tuo-zhuai-pai-xu-forked-53txq5](https://codesandbox.io/p/sandbox/tuo-zhuai-pai-xu-forked-53txq5)
### © 版本信息
- ProComponents 版本: 4.6.44
- umi 版本
- 浏览器环境
- 开发环境
### 🚑 其他信息
Contributor guide
Research direction
Start with the linked CodeSandbox reproduction and the DragSortTable drag-and-drop entry point; verify the page-scroll reset after dragging a bottom-row item upward. Done means the page remains scrolled and can continue scrolling normally after sorting.
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
- 35/100