apache / apache/echarts

5.1.2 版本 tootip 有时不会消失

Open
#15,419 3 comments 0 reactions 0 assignees View on GitHub
bug topic: tooltip
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### Version
5.1.2

### Reproduction link
[https://www.makeapie.com/editor.html?c=xnn3ZXfChb&v=1](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在划出为止。

![image](https://user-images.githubusercontent.com/44129974/127135137-ef697930-10b5-4357-a48d-0c852d0cb589.png)
![image](https://user-images.githubusercontent.com/44129974/127135268-057b04f5-c5b4-49f7-ab0e-2279a449f702.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.