[v9.3.x] BarChart: Clear tooltip when cursor exits bar (#60749)
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:
co-authored by
Victor Marin
parent
baeaab2f11
commit
b2a8f8123d
@@ -106,7 +106,7 @@ export const addTooltipSupport = ({
|
||||
setFocusedSeriesIdx,
|
||||
setFocusedPointIdx,
|
||||
(clear) => {
|
||||
if (clear && isActive) {
|
||||
if (clear) {
|
||||
setCoords(null);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user