In any example, when clicking on a chart, focus is set to that chart and whichever item the tooltip is shown for will then continue to show the tooltip until the chart is clicked again, which will allow the tooltip to move again.
Steps to reproduce
- Open any chart with a tooltip; e.g. https://tanstack.com/charts/catalog/charts/bar-vertical-sorted
- Hover over the chart and click it
- The tooltip will now follow the keyboard navigation
Clicking outside the chart does not free up the tooltip, the focus on the chart will be gone which then also disables keyboard navigation, but hovering over the chart will no longer move the tooltip with the cursor. To free the tooltip again, you must click the graph again.
Expected behavior
When focus is set to the graph, keyboard navigation is enabled, but moving the cursor should also still work.
Browsers
Tested in both the latest version of Edge and Firefox.
In any example, when clicking on a chart, focus is set to that chart and whichever item the tooltip is shown for will then continue to show the tooltip until the chart is clicked again, which will allow the tooltip to move again.
Steps to reproduce
Clicking outside the chart does not free up the tooltip, the focus on the chart will be gone which then also disables keyboard navigation, but hovering over the chart will no longer move the tooltip with the cursor. To free the tooltip again, you must click the graph again.
Expected behavior
When focus is set to the graph, keyboard navigation is enabled, but moving the cursor should also still work.
Browsers
Tested in both the latest version of Edge and Firefox.