[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.22.0
Link to Minimal Reproduction
https://visactor.io/vtable/demo/gantt/gantt-basic
Steps to Reproduce
在上述官方示例中,将第一个子任务的结束时间往后调整1年,重新2渲染后点击第一行的展开,发现时间轴并没有根据子甘特条的时间自动扩大区间
Current Behavior
时间轴不会由子甘特条的时间区间自动扩大区间
Expected Behavior
时间轴能够根据子任务的时间区间自动扩大区间
Environment
- OS:
- Browser:
- Framework:
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
Start with the official Gantt demo at https://visactor.io/vtable/demo/gantt/gantt-basic and reproduce the issue by extending the first child task's end date, rerendering, and expanding the first row. Trace the timeline range calculation when a draggable parent also contains draggable child bars. Done means the timeline automatically includes the child task's extended date after expansion.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- 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