[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:
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user