antvis/G2

renderer为svg,坐标轴label的tooltip不会消失 #3849

yangjie-zzu posted onGitHub

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

Edit on CodeSandbox

Steps to reproduce

renderer为svg,坐标轴label文字过长时,启用autoEllipsis配置,悬浮时显示tooltip, 鼠标移开后,tooltip不会消失

Environment Info
g2 4.1.49
System -
Browser -

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


感谢反馈,已经复现。初步判断原因是 svg 下,从 label 上离开的时候没有触发 mouseleave 事件。建议当前依然使用 canvas,我们尝试修复一下,并在 G2 5.0 中考虑到这个问题。

posted by hustcc almost 3 years ago

Fund this Issue

$0.00
Funded

Pull requests