-
Notifications
You must be signed in to change notification settings - Fork 19.8k
Open
Labels
bugenThis issue is in EnglishThis issue is in EnglishpendingWe are not sure about whether this is a bug/new feature.We are not sure about whether this is a bug/new feature.
Description
Version
5.6.0
Link to Minimal Reproduction
Steps to Reproduce
- Link goes to the 'heatmap-large' official example, with the small change of adding zoom functionality.
dataZoom: { type: 'inside', }, - While hovering over the chart, zoom in all the way.
- Move your cursor away.
Current Behavior
You will see a graphical artifact where your cursor was: a highlight of a rectangle in the chart.
See: small black rectangle, which at a prior zoom level was a border around one data point.

Expected Behavior
This highlight should not linger as you keep zooming in and as your mouse cursor moves away.
Environment
- OS: Windows
- Browser: Chrome 135.0.7049.116
- Framework: N/AAny additional comments?
This bug is triggered when the zoom level changes such that the chart element count passes from above hoverLayerThreshold to below it. The current state of the separate hover layer is not cleared as it should be when the chart is switched over to drawing directly on the main canvas layer for hover interactions.
Metadata
Metadata
Assignees
Labels
bugenThis issue is in EnglishThis issue is in EnglishpendingWe are not sure about whether this is a bug/new feature.We are not sure about whether this is a bug/new feature.