antvis / antvis/G2Plot

🐛 [BUG] Sankey 鼠标第一次移入节点时无法触发 tooltip

Open
#2,834 1 comment 0 reactions 0 assignees View on GitHub
Bug hard
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]

customContent 情况下,鼠标第一次移入节点时无法触发 tooltip 。

### 💻 Link to minimal reproduction

https://codesandbox.io/s/misty-river-bcnwp?file=/App.tsx:1363-1378

Contributor guide

Open the contributing guide

Research direction

Start with the linked CodeSandbox reproduction, focusing on the Sankey chart's customContent tooltip behavior. Trace the relevant Sankey tooltip entry point in the TypeScript source and reproduce the first-node-hover case. Done means the tooltip appears when the pointer first enters a node while customContent is enabled.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.