VisActor / VisActor/VTable

[Bug] 创建甘特图时 records 为空,之后再 setRecords 出现渲染空白

Open
#4,574 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.21.0

Link to Minimal Reproduction

Steps to Reproduce
  1. 代码使用官方 demo:https://visactor.io/vtable/demo/gantt/gantt-basic?version=1.21.0
  2. 将 option 的 records 设为空数组[]。
  3. 在创建完 ganttInstance 后立即调用 ganttInstance.setRecords(records)。
  4. 展开某个父节点,左侧表格下方出现渲染空白。
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?version=1.21.0 and reproduce the sequence with records set to [] before calling setRecords(records). Inspect the Gantt rendering path involved when expanding a parent node; done means the lower-left table area renders normally 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.