ant-design / ant-design/pro-components

🐛[BUG]拖拽排序编辑表格超出边界问题

Open
#7,571 1 comment 1 reaction 0 assignees View on GitHub
🎖️ featrue table
Dominant language
TypeScript
Stars
4.8k
Forks
1.4k
Avg merge
10h 44m
Merged PRs (30d)
3

Description

提问前先看看:

https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md

### 🐛 bug 描述

### 📷 复现步骤
任意拖动一行数据,将其拖拽出表格之外(整个页面有滚动条的情况下),会一直往下滚动,无法向上滚动

### 🏞 期望结果
期望拖拽出表格区域后,不会自动往下继续滚动

### 💻 复现代码
此在线案例可复现
https://codesandbox.io/s/tuo-zhuai-pai-xu-forked-q887rg?file=/App.tsx

### © 版本信息

- ProComponents 版本: [e.g. 4.0.0]
- umi 版本
- 浏览器环境
- 开发环境 [e.g. mac OS]

### 🚑 其他信息

Contributor guide

Open the contributing guide

Research direction

Start with the linked CodeSandbox reproduction in App.tsx and reproduce dragging a row outside the table while the page has a scrollbar. Trace the table's drag-and-scroll behavior and verify that dragging outside the table no longer causes continuous downward scrolling or prevents upward scrolling.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.