whisper-money/resources/js/components/dashboard
Víctor Falcón 753002f930
fix(dashboard): dismiss account card tooltip when tapping outside (#318)
## Problem

On mobile, the sparkline tooltip on the dashboard account cards covered
almost the entire card, making it very hard to dismiss — you had to tap
very specific spots inside the card to clear it.

## Fix

Listen for `pointerdown` events outside the chart wrapper and unmount
the Recharts `<Tooltip>` to dismiss it. Because only the Tooltip is
toggled (not `<Line>`), there's no redraw animation.

Gated behind `matchMedia('(hover: hover)')` so desktop hover behavior is
left alone — tooltip still appears on hover without any click needed.

Works across multiple cards: tapping one dismisses tooltips on all
others.
2026-04-23 08:35:21 +01:00
..
account-balance-card.tsx fix(dashboard): dismiss account card tooltip when tapping outside (#318) 2026-04-23 08:35:21 +01:00
account-type-icon.tsx refactor(accounts): unify account type icons via accountIconByType helper (#180) 2026-03-02 08:47:44 +00:00
amount-trend-indicator.tsx fix: Prevent account card content overflow on long names (#133) 2026-02-19 10:22:51 +01:00
cashflow-summary-card.tsx perf(dashboard): optimize query performance and eliminate redundant requests (#146) 2026-02-24 08:43:48 +01:00
net-worth-chart.tsx fix: preserve cents in chart amounts (#270) 2026-04-10 15:41:24 +02:00
percentage-trend-indicator.tsx fix: preserve cents in chart amounts (#270) 2026-04-10 15:41:24 +02:00
top-categories-card.tsx feat(dashboard): make top spending categories clickable with transaction filter link (#189) 2026-03-03 11:24:50 +00:00