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 .
7条答案
按热度按时间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! 🍵
n3ipq98p2#
vqlkdk9b3#
这个问题解决了么?有没有什么方法可以监控地图被移出画布?
t5zmwmid4#
@Jupiterice 没有,我们后面是将引用的 echarts 的版本回退了。
rkue9o1l5#
@Jupiterice 不好意思,刚才的回答有些歧义。准确来说是,我们不确定 echars 是否已经更新解决了,我们这边是回退了 echarts 的版本。
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.ltskdhd17#
Sent PR for it.