(cherry picked from commit dfc466052d)
Co-authored-by: Oscar Kilhed <oscar.kilhed@grafana.com>
This commit is contained in:
co-authored by
Oscar Kilhed
parent
bee8b0a9dd
commit
bfb3e90750
@@ -56,6 +56,7 @@ export const TooltipPlugin: React.FC<TooltipPluginProps> = ({
|
||||
}
|
||||
|
||||
return () => {
|
||||
setCoords(null);
|
||||
if (plotCtx && plotCtx.plot) {
|
||||
plotCtx.plot.over.removeEventListener('mouseleave', plotMouseLeave);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user