fix: dashboard flickering on poll, animation replay, and scroll
All checks were successful
CI / cleanup-branch (push) Has been skipped
CI / build (push) Successful in 1m3s
CI / docker (push) Successful in 54s
CI / deploy-feature (push) Has been skipped
CI / deploy (push) Successful in 36s

- Add placeholderData to useRouteMetrics and usePunchcard hooks so data
  stays stable between refetches instead of going undefined → flicker
- Disable Recharts animation on Treemap (isAnimationActive=false)
- Make .content scrollable (overflow-y: auto, flex: 1, min-height: 0)
  so charts below the fold are accessible

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
hsiegeln
2026-03-30 15:42:02 +02:00
parent a517785050
commit 52c22f1eb9
4 changed files with 7 additions and 1 deletions

View File

@@ -2,6 +2,10 @@
display: flex;
flex-direction: column;
gap: 20px;
flex: 1;
min-height: 0;
overflow-y: auto;
padding-bottom: 20px;
}
.refreshIndicator {