[Bug] 甘特图拖拽超出边界报错
Open
Nobody has claimed this yet.
bug
- Dominant language
- TypeScript
- Stars
- 3.7k
- Forks
- 486
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 16
Description
Version
1.21.1
Link to Minimal Reproduction
https://codesandbox.io/p/sandbox/vtable-list-table-forked-llmg6k?file=%2Fsrc%2Findex.js%3A47%2C9
Steps to Reproduce
Current Behavior
直接报错估计是没有
Expected Behavior
- 如果是任务超出,向上挪到标题,那么应该是默认挪到是第一行
- 其他应该是恢复原先效果
Environment
- Browser:谷歌浏览器
Any additional comments?
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open the linked CodeSandbox and start at src/index.js around the referenced reproduction location. Reproduce dragging a task outside the title area, then trace the resulting error and the gantt drag boundary handling. Done means the drag no longer errors, an out-of-range task moves to the first row, and other behavior is preserved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- data-visualization, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100