Expected behavior
Any clicks/taps outside the chart should close the active tooltip.
Current behavior
The tooltip remains visible even after tapping outside the chart.
Reproducible sample
https://www.chartjs.org/docs/latest/samples/bar/stacked.html
Optional extra steps/info to reproduce
This can be reproduced on some of the official samples, e.g., “Stacked Bar Chart”:
- Start a touch drag on one of the columns.
- Drag to another column.
- Stop the touch drag on this column.
- Tap ouside of the chart.
This issue only occurs on touch devices, but can also be reproduced on desktop using DevTools’ “device mode” to simulate touch events.
Possible solution
No response
Context
No response
chart.js version
4.5.0
Browser name and version
Brave v1.82.172
Link to your project
No response