apache / apache/echarts

[Bug] Brush not working on mobile

Open
#21,261 5 comments 0 reactions 0 assignees View on GitHub
bug en pending
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### 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

```markdown
- 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.