apache / apache/echarts

[Bug] 移动端浏览器,给地球组件中的layers 绑定地图实例,点击事件不生效

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

Description

### Version

4.8.0

### Link to Minimal Reproduction

https://www.makeapie.cn/echarts_content/xn4xGv0UAd.html

### Steps to Reproduce

在示例链接中,给mapChart绑定点击事件
`
mapChart.on('click', () => {alert(1)})
`

### Current Behavior

给mapChart绑定点击事件,pc端浏览器可以生效,移动端浏览器不生效

### Expected Behavior

如何才能让点击事件在移动端浏览器中生效

### Environment

```markdown
- OS:
- Browser:
- Framework:
```

### Any additional comments?

_No response_

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.