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

当鼠标从 tooltip中移出图表范围,tooltip 不会消失 #4023

Closed
1 task
slience-y opened this issue Jul 4, 2022 · 4 comments
Closed
1 task

当鼠标从 tooltip中移出图表范围,tooltip 不会消失 #4023

slience-y opened this issue Jul 4, 2022 · 4 comments

Comments

@slience-y
Copy link

slience-y commented Jul 4, 2022

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

[ https://g2-v4.antv.vision/zh/examples/line/basic#base 。 直接用 g2 官网上的示例,将tooltip的enterable属性设为true即可复现]( https://g2-v4.antv.vision/zh/examples/line/basic#base 。 直接用 g2 官网上的示例,将tooltip的enterable属性设为true即可复现)

Steps to reproduce

tooltip的enterable属性设为true, 鼠标移到折线图上,显示 tooltip,然后鼠标移动到 tooltip 上,快速从 tooltip 上移出画布, tooltip 不消失

Environment Info
g2 4.2.4
System -
Browser -
@slience-y
Copy link
Author

slience-y commented Jul 4, 2022

#2184
之前应该修复过,但是没修好

@lxliang912
Copy link

image
可以手动加个监听,更方便

@earthaYan
Copy link

image 可以手动加个监听,更方便

第二个g2-tooltip好像会有延迟,会出现已经监听到tooltip出现,但元素只有canvas,而没有g2-tooltip这个div

@hustcc
Copy link
Member

hustcc commented Aug 22, 2023

ref: #3741

@hustcc hustcc closed this as completed Aug 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants