mirror of
https://github.com/grafana/grafana.git
synced 2024-11-25 18:30:41 -06:00
BarChart: make sure tooltip closes when user presses E (#34884)
This commit is contained in:
parent
badec6c6ad
commit
dfc466052d
@ -56,6 +56,7 @@ export const TooltipPlugin: React.FC<TooltipPluginProps> = ({
|
||||
}
|
||||
|
||||
return () => {
|
||||
setCoords(null);
|
||||
if (plotCtx && plotCtx.plot) {
|
||||
plotCtx.plot.over.removeEventListener('mouseleave', plotMouseLeave);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user