[v9.2.x] BarChart: Clear tooltip when cursor exits bar (#60748)

BarChart: Clear tooltip when cursor exits bar (#60617)

(cherry picked from commit 9bd6e471e4)

Co-authored-by: Victor Marin <36818606+mdvictor@users.noreply.github.com>
This commit is contained in:
Grot (@grafanabot)
2022-12-23 14:12:46 -05:00
committed by GitHub
co-authored by Victor Marin
parent 6fa3d993fa
commit ecd1f03a65
@@ -106,7 +106,7 @@ export const addTooltipSupport = ({
setFocusedSeriesIdx,
setFocusedPointIdx,
(clear) => {
if (clear && isActive) {
if (clear) {
setCoords(null);
return;
}