apache / apache/echarts

[Bug] Pich-zoom or double-tap-zoom on touch laptop and touch HMI is not working

Open
#21,740 1 comment 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.0.0 and 6.1.0

### Link to Minimal Reproduction

https://stackblitz.com/edit/stackblitz-starters-mwzaeocs?description=An%20angular-cli%20project%20based%20on%20@angular/animations,%20@angular/common,%20@angular/compiler,%20@angular/core,%20@angular/forms,%20@angular/platform-browser,%20@angular/platform-browser-dynamic,%20@angular/router,%20core-js,%20rxjs,%20tslib%20and%20zone.js&file=src%2Fmain.ts,src%2Fglobal_styles.css&template=node&title=Angular%20Starter

### Steps to Reproduce

1. Open the given link
2. Try pinch-zoom/double tap on touch laptop or HMI device.
3. Notice that it fires pointerdown and pointermove events, but not firing datazoom events

### Current Behavior

Try pinch-zoom/double tap on touch laptop or HMI device.
Notice that it fires pointerdown and pointermove events, but not firing datazoom events

### Expected Behavior

pich-zoom or double-tap-zoom should work

### Environment

```markdown
- OS: Windows 11
- Browser: Chrome Version 151.0.7922.138
- Framework: Angular 20
```

### Any additional comments?

Any support ASAP will be great help. Thanks in advance.

Contributor guide

Open the contributing guide

Research direction

Open the StackBlitz reproduction and review src/main.ts and src/global_styles.css; reproduce on a touch laptop or HMI and observe pointerdown, pointermove, and datazoom events. Compare the reproduction with the expected behavior: pinch-zoom or double-tap-zoom should work.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, typescript
Domain
data-visualization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.