未验证 提交 3de41dc9 编写于 作者: Y Yi Shen 提交者: GitHub

Merge pull request #13382 from plainheart/fix-12778

fix(tooltip): hide tooltip when mouse leaves the chart(#12778)
......@@ -298,12 +298,14 @@ class TooltipHTMLContent {
}
};
el.onmouseleave = function () {
// set `_inContent` to `false` before `hideLater`
self._inContent = false;
if (self._enterable) {
if (self._show) {
self.hideLater(self._hideDelay);
}
}
self._inContent = false;
};
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册