Skip to content

Clicking on a chart freezes tooltip #109

Description

@Studio384

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

  1. Open any chart with a tooltip; e.g. https://tanstack.com/charts/catalog/charts/bar-vertical-sorted
  2. Hover over the chart and click it
  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions