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

This commit is contained in:
Victor Marin
2022-12-23 13:00:52 -06:00
committed by GitHub
parent b439fd56d8
commit 9bd6e471e4
@@ -106,7 +106,7 @@ export const addTooltipSupport = ({
setFocusedSeriesIdx,
setFocusedPointIdx,
(clear) => {
if (clear && isActive) {
if (clear) {
setCoords(null);
return;
}