[X] Check this if you would like to implement a PR, we are more than happy to help you go through the process.
Current and expected behavior
If the chart data changes in the background, while an existing tooltip is shown (triggered by a previous hover action), then the mouse is moved again - chart.js will trigger an inChartArea = false event, attempting to reuse the old/invalid active elements.
Would you like to work on a fix?
Current and expected behavior
If the chart data changes in the background, while an existing tooltip is shown (triggered by a previous hover action), then the mouse is moved again - chart.js will trigger an
inChartArea = false
event, attempting to reuse the old/invalid active elements.Issue: https://github.com/chartjs/Chart.js/issues/11315
Fix PR: https://github.com/chartjs/Chart.js/pull/11596
Reproduction
https://github.com/chartjs/Chart.js/pull/11596#issue-2013444481
chart.js version
v4.1.1
vue-chartjs version
v5.2.0
Possible solution
The bug fix is included in this chartjs release: https://github.com/chartjs/Chart.js/releases/tag/v4.4.1
Specifically, by this PR: https://github.com/chartjs/Chart.js/pull/11596