Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map can not be dragged into the view once roamed away after v4.6.0 #12146

Closed
plrthink opened this issue Feb 13, 2020 · 9 comments
Closed

Map can not be dragged into the view once roamed away after v4.6.0 #12146

plrthink opened this issue Feb 13, 2020 · 9 comments
Labels
bug en This issue is in English stale Inactive for a long time. Will be closed in 7 days. waiting-for: community

Comments

@plrthink
Copy link

Version

4.6.0

Reproduction link

https://codesandbox.io/s/cocky-gould-xsyd8?fontsize=14&hidenavigation=1&theme=dark

Steps to reproduce

Drag the map outside its container and release the mouse, then there's no way to bring it back.

What is expected?

The map would be constrained in its box even the cursor is beyond the container.

What is actually happening?

Now the map is following the cursor and once the user released the mouse, it can not be brought back.


I think it's only happened after 4.6.0 since this merged PR #11710.

@echarts-bot
Copy link

echarts-bot bot commented Feb 13, 2020

Hi! We've received your issue and please be patient to get responded. 🎉
The average response time is expected to be within one day for weekdays.

In the meanwhile, please make sure that you have posted enough image to demo your request. You may also check out the API and chart option to get the answer.

If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to [email protected]. Please attach the issue link if it's a technical questions.

If you are interested in the project, you may also subscribe our mail list.

Have a nice day! 🍵

@echarts-bot echarts-bot bot added bug en This issue is in English pending We are not sure about whether this is a bug/new feature. waiting-for: community labels Feb 13, 2020
@plrthink
Copy link
Author

ezgif com-video-to-gif

@yufeng04 yufeng04 removed pending We are not sure about whether this is a bug/new feature. waiting-for: community labels Feb 14, 2020
@Jupiterice
Copy link

这个问题解决了么?有没有什么方法可以监控地图被移出画布?

@plrthink
Copy link
Author

@Jupiterice 没有,我们后面是将引用的 echarts 的版本回退了。

@plrthink
Copy link
Author

@Jupiterice 不好意思,刚才的回答有些歧义。准确来说是,我们不确定 echars 是否已经更新解决了,我们这边是回退了 echarts 的版本。

@KrzysztofMadejski
Copy link

Working on it..

RoamController:144 (v 4.9.0) this.pointerChecker(e, x, y) returns null for click outside of very close to map.

@KrzysztofMadejski
Copy link

Sent PR for it.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 7, 2023

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 github-actions bot added the stale Inactive for a long time. Will be closed in 7 days. label Jan 7, 2023
@github-actions
Copy link
Contributor

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!

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jan 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug en This issue is in English stale Inactive for a long time. Will be closed in 7 days. waiting-for: community
Projects
None yet
Development

No branches or pull requests

4 participants