antvis / antvis/G2Plot

🐛 [BUG]桑基图移动速度快速的时候,tooltip内容错误

Open
#3,286 0 comments 0 reactions 0 assignees View on GitHub
Bug
Dominant language
TypeScript
Stars
2.7k
Forks
591
PR merge metrics
No merged PRs in 30d

Description

### 🐛 Bug description [Please make everyone to understand it]
桑基图移动速度快速的时候,tooltip内容错误
> Please provide a link by forking these links [G2Plot](https://codesandbox.io/s/g2plot-issue-template-gzfdq?file=/index.ts) or GitHub repo, a minimal reproduction.

* _Required_ **Link to minimal reproduction**:

### 📷 Step to reproduce
1,编写桑基图
2,鼠标移动到某个节点后,快速移动到另外一个节点
3,后一个节点显示的tooltip可能会是前一个节点的内容
![image](https://user-images.githubusercontent.com/34097936/179465996-b3724e97-9ef7-4fde-be46-f04abf234925.png)
### 🏞 Expected result
tooltip内容显示正确
### 🚑 Any additional [like screenshots]

* **G2Plot Version**:
* **Platform**:

Contributor guide

Open the contributing guide

Research direction

Start with the Sankey chart tooltip handling in G2Plot and reproduce the reported steps: hover one node, then move quickly to another. Verify whether the second node shows the first node's content, and use the expected result—correct tooltip content for the currently hovered node—as the completion check.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.