Tooltip: Render when animations are disabled (#8252)

This commit is contained in:
Jukka Kurkela
2020-12-30 15:33:30 +02:00
committed by GitHub
parent 6ffc380c6a
commit d00ffdcd76
4 changed files with 9 additions and 4 deletions

View File

@@ -1089,7 +1089,10 @@ export default {
if (chart.tooltip) {
// If the event is replayed from `update`, we should evaluate with the final positions.
const useFinalPosition = args.replay;
chart.tooltip.handleEvent(args.event, useFinalPosition);
if (chart.tooltip.handleEvent(args.event, useFinalPosition)) {
// notify chart about the change, so it will render
args.changed = true;
}
}
},