VisActor / VisActor/VTable

[Bug] 甘特图中,当存在父子关系且父也为可拖动的甘特条时,时间轴不能正确扩展到子任务

Open
#4,608 1 comment 0 reactions 0 assignees View on GitHub

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渲染后点击第一行的展开,发现时间轴并没有根据子甘特条的时间自动扩大区间

Image
Current Behavior

时间轴不会由子甘特条的时间区间自动扩大区间

Expected Behavior

时间轴能够根据子任务的时间区间自动扩大区间

Environment
- OS:
- Browser:
- Framework:
Any additional comments?

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.