mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
(cherry picked from commit dfc466052d
)
Co-authored-by: Oscar Kilhed <oscar.kilhed@grafana.com>
This commit is contained in:
parent
bee8b0a9dd
commit
bfb3e90750
@ -56,6 +56,7 @@ export const TooltipPlugin: React.FC<TooltipPluginProps> = ({
|
|||||||
}
|
}
|
||||||
|
|
||||||
return () => {
|
return () => {
|
||||||
|
setCoords(null);
|
||||||
if (plotCtx && plotCtx.plot) {
|
if (plotCtx && plotCtx.plot) {
|
||||||
plotCtx.plot.over.removeEventListener('mouseleave', plotMouseLeave);
|
plotCtx.plot.over.removeEventListener('mouseleave', plotMouseLeave);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user