antvis/G2

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

slience-y posted onGitHub

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

[ 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 -

<!-- generated by antv-issue-helper. DO NOT REMOVE -->


https://github.com/antvis/G2/pull/2184 之前应该修复过,但是没修好

posted by slience-y almost 3 years ago

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

posted by lxliang912 over 2 years ago

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

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

posted by earthaYan almost 2 years ago
posted by hustcc over 1 year ago

Fund this Issue

$0.00
Funded

Pull requests