Skip to content

shadcn Tooltip bar chart examples are broken #265

Closed

Description

@dantman

The ShadCN Bar chart examples in the Charts Catalog have a tooltip that just sits in the center of the chart, possibly obstructing it, instead of following the mouse.

For example https://tanstack.com/charts/catalog/charts/195-shadcn-tooltip-label-custom, but also the other bar charts.

Image Image

Activity

  1. tannerlinsley commented on Nov 7, 2026

    @tannerlinsley
    Member

    Thanks for pointing this out! #267 switches those examples to pointer positioning and removes the tooltip shown on page load. The fix is in review.

  2. tannerlinsley commented on Nov 7, 2026

    @tannerlinsley
    Member

    The fix is live in the catalog now. Thanks for reporting it, @dantman!

    AI review notes:
    #267 replaced the fixed anchors and forced initial tooltips in all nine affected tooltip examples. The regression tests and local Chromium, Firefox and WebKit checks passed before merge.
    Production checks on the custom-label and advanced examples now pass. Each starts without a visible tooltip, tracks a 30px pointer movement by 30px, and hides the tooltip when the pointer leaves.

    If you still see this on another chart, please reopen this with its link.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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