Skip to content

[Bug] VisualMap cursor: pointer on selectedMode: false #20533

Closed
@MicheleJohn

Description

@MicheleJohn

Version

5.5.1

Link to Minimal Reproduction

https://echarts.apache.org/examples/en/editor.html?code=PYBwLglsB2AEC8sDeAoWsBuEDOBXAhgDYCy-IAXLANprrK12xgCeIAppQOQgRsDGbAO442nADQM62NoX5g2AE2LAFHWADMi0iY3Q9-bbJRq66SWAFsI0SgCYADPbGxC-AEYyugUyJYD--Ng-YEJgACcuAHNQtjZoTlgAXx1TZEtrSgBGAFYnS3wAD0yATiLnVw9CLmz7AFoMkoCgkPDYTjdCXFFE5NNzCwLMgBZSl3dPVoAeWGrG4LCuaIV4hMl0AF0eulCICIALMEonVaZQQ830CHkLAHUIBTBdzIA2c9hLtgsACTYd_efX94WADiZEyWVe8nyYBBFFg4OOYV40AOrV2iIAXjAwEROJIVutkvkAIL5HCUVCMFjsLh8fDyCJhZjiSQKOn4YycZRxZycAAqnQCnGuikFvN2uEFADFtoKAMp0uW4OJrWhJWjMElk-iU1hqTgYIgC1XJaTbQzGSQU3Ss7HGarOWwAZlytlsgwdGQAHM4Mo7wdNBgB2B1PewbY5UvWEayiPG0FUJADcQA

Steps to Reproduce

  1. Instantiates the graph with the option selectedMode: false inside the visualMap
  2. Hover the mouse on the visualMap

Current Behavior

The click is disabled but the mouse still appears as a cursor pointer.

Expected Behavior

The cursor has to be default and not pointer

Environment

- OS:ArchLinux
- Browser: Chromium v130.0.6723.116-1
- Framework: [email protected]

Any additional comments?

If you declare a legend with selectedMode: false the cursor is set to default and not pointer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugdifficulty: easyIssues that can be fixed more easily than the average.enThis issue is in EnglishpendingWe are not sure about whether this is a bug/new feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions