Skip to content

[Bug] Emphasis state not cleared properly with zlevel and dataZoom, causing residual highlights #21131

@wulimao49

Description

@wulimao49

Version

5.6.0

Link to Minimal Reproduction

https://stackblitz.com/edit/vitejs-vite-o5njrr4h

Steps to Reproduce

zLevel.mov
zoom.mov

Current Behavior

  1. When a series has a custom zlevel, moving the mouse into the chart area can cause a residual emphasis effect to remain visible on some elements, even after the mouse has moved away.

  2. When zooming using dataZoom and simultaneously moving the mouse, a large number of elements can retain their emphasis state, resulting in many incorrect highlights.

Expected Behavior

The emphasis state should be cleared correctly.

Environment

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions