VisActor / VisActor/VChart

[Bug] error after frequent clicks on legend

Open
#4,164 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug interaction react-vchart
Dominant language
TypeScript
Stars
1.8k
Forks
221
Avg merge
1d 6h
Merged PRs (30d)
26

Description

Version

2.0.0

Link to Minimal Reproduction

null

Steps to Reproduce

demo: https://codesandbox.io/p/sandbox/visactor-vchart-react-demo-forked-87l6rk?file=%2Fsrc%2FApp.tsx%3A27%2C3

click multiple times on legend:
Image

Current Behavior
Image
Expected Behavior

no error

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

Open the linked CodeSandbox demo and begin at src/App.tsx around line 27, then reproduce the issue by clicking the legend repeatedly. Capture the browser error and trace it through the chart and legend behavior; done means repeated legend clicks produce no error.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
data-visualization, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.