Skip to content

[Bug] Brush not working on mobile #21261

@acj97

Description

@acj97

Version

6

Link to Minimal Reproduction

https://echarts.apache.org/examples/en/editor.html?c=candlestick-brush

Steps to Reproduce

  1. right click to inspect element
  2. enable toggle device emulation
  3. try to drag the brush

Current Behavior

when drag the brush it's doing the page scroll

Expected Behavior

when drag the brush, the brush moved

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

https://echarts.apache.org/examples/en/editor.html?c=candlestick-brush

i'm doing implementation using brush, my current issue is the brush is not working when we click and drag on the mobile. I also check the example it's also the same. Is there a way to make the brush works on mobile?
desktop:
https://github.com/user-attachments/assets/fdb832f1-de73-4cdb-9c74-e1c327f62165
mobile:
https://github.com/user-attachments/assets/ecd710fb-01f4-411b-8ca8-6b0a27448242

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugenThis 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