echarts 5.1.2 版本 tootip 有时不会消失

webghufk  于 2022-12-31  发布在  Echarts
关注(0)|答案(3)|浏览(357)

Version

5.1.2

https://www.makeapie.com/editor.html?c=xnn3ZXfChb&v=1

Steps to reproduce

鼠标快速划出echarts 挂载的dom,但是在划出dom 之前经过tootip框,会复现此bug导致tootip不会消失。

有时我的图表数据种类较多,所以tootip框很大时,这是个必现的bug。
我并没有设置tootiop 的 enterable 属性。

What is expected?

鼠标不在挂载的dom内 且 不在tootip框内时,隐藏tootip

What is actually happening?

鼠标既不在挂载节点内,又不在tootip 内,tootip依然存在。
挂载的dom隐藏之后tootip 都不会被隐藏掉,直到鼠标划入tootip在划出为止。

xt0899hw

xt0899hw1#

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 it contains a minimum reproducible demo and necessary images to illustrate. Otherwise, our committers will ask you to do so.

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.

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 question.

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

Have a nice day! 🍵

cgfeq70w

cgfeq70w2#

@learnerYoung 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

5.1.2 version tootip sometimes does not disappear

BODY

Version

5.1.2

https://www.makeapie.com/editor.html?c=xnn3ZXfChb&v=1

Steps to reproduce

The mouse quickly draws out the dom mounted by echarts, but after passing the tootip box before drawing out the dom, this bug will reappear and the tootip will not disappear.

Sometimes my chart data types are many, so when the tootip box is very large, this is a bug that must appear.
I did not set the enterable attribute of tootiop.

What is expected?

When the mouse is not in the mounted dom and not in the tootip box, hide tootip

What is actually happening?

The mouse is neither in the mount node nor in tootip, tootip still exists.
After the mounted dom is hidden, tootip will not be hidden until the mouse is drawn in tootip and the tootip is drawn out.

j2datikz

j2datikz3#

将浏览器大小缩小后使tootip占比缩小,将更容易复现这个bug

相关问题