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

7d7tgy0s  于 2022-11-13  发布在  Echarts
关注(0)|答案(7)|浏览(179)

Version

4.6.0

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 .

n6lpvg4x

n6lpvg4x1#

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 dev@echarts.apache.org . 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! 🍵

vqlkdk9b

vqlkdk9b3#

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

t5zmwmid

t5zmwmid4#

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

rkue9o1l

rkue9o1l5#

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

6yjfywim

6yjfywim6#

Working on it..

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

相关问题