Skip to content

Clicking a chart leaves a blue focus outline #52

Description

@marselsel

Bug Description

Clicking anywhere on a chart draws a blue focus ring around the chart surface and leaves it there. The charts aren't interactive controls, so the ring is just visual noise.

Steps to Reproduce

  1. Open any analytics page with a chart (e.g. Overview).
  2. Click on the chart.
  3. A blue outline appears around the chart and persists.

Expected Behavior

No focus ring from a mouse click on a non-interactive chart surface — keyboard focus styling should still work where a chart element genuinely is focusable.

Actual Behavior

A persistent blue outline around the chart.

Notes / probable cause

Recharts (^3.7.0) renders a focusable wrapper/<svg> and the browser's default focus ring shows on click. Likely fixed on the chart container in components/analytics/chart-panel.tsx or the individual chart components — use :focus-visible rather than killing :focus outright, so keyboard users keep an indicator.

Affected Package

Dashboard

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions