apache / echarts

Apache ECharts is a powerful, interactive charting and data visualization library for browser
https://echarts.apache.org
Apache License 2.0
60.58k stars 19.62k forks source link

[Bug] echarts5.2.2 iframe中使用bmap无法平移 #16135

Closed yqwoe closed 11 months ago

yqwoe commented 2 years ago

Version

5.2.2

Link to minimal reproduction

https://echarts.apache.org/examples/zh/editor.html?c=effectScatter-bmap

Steps To Reproduce

1.在iframe中引入bmap

Current Behavior

在iframe外部可以使用拖拽平移,在内部无法拖拽平移

Expected Behavior

期望在内部 拖拽平移,

Environment

- OS: macos
- Browser: google chrome
- Framework: react

Any additional comments?

附上视频。

echarts-bot[bot] commented 2 years ago

@yqwoe It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people, we'd like to suggest using English next time. 🤗

TRANSLATED
**TITLE** The use of bmap in echarts5.2.2 iframe cannot be panned **BODY** ### Version 5.2.2 ### Link to minimal reproduction https://echarts.apache.org/examples/zh/editor.html?c=effectScatter-bmap ### Steps To Reproduce 1. Introduce bmap in iframe ### Current Behavior Drag pans can be used outside iframe and cannot be dragged and panned internally ### Expected Behavior expect to drag and pan inside, ### Environment ```markdown - OS: macos - Browser: google chrome - Framework: react ``` ### Any additional comments? Attach a video. https://user-images.githubusercontent.com/7060489/143864337-6ac02dcd-606a-4b8d-97fa-f3f75348a926.mp4
echarts-bot[bot] commented 2 years ago

@yqwoe Please provide a minimum reproducible demo for the issue either with https://codepen.io/Ovilia/pen/dyYWXWM , https://www.makeapie.com/editor.html or https://codesandbox.io/s/mystifying-bash-2uthz.

A minimum reproducible demo should contain as little data and components as possible but can still illustrate your problem. This is the best way for us to reproduce it and solve the problem faster.

github-actions[bot] commented 11 months ago

This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.

github-actions[bot] commented 11 months ago

This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!