mirror of
https://github.com/chartjs/Chart.js.git
synced 2026-03-09 17:56:51 +01:00
Tooltip: Render when animations are disabled (#8252)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user