Skip to content

fix(requests): chart not visible in Requests tab#4751

Merged
Siumauricio merged 1 commit into
canaryfrom
fix/requests-chart-not-visible
Jul 7, 2026
Merged

fix(requests): chart not visible in Requests tab#4751
Siumauricio merged 1 commit into
canaryfrom
fix/requests-chart-not-visible

Conversation

@Siumauricio

@Siumauricio Siumauricio commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Closes #4749

Since the Tailwind v4 / shadcn update (#4706), ChartContainer renders its own ResponsiveContainer internally. The request distribution chart was still wrapping it in a manual outer ResponsiveContainer, and with recharts v3 that nesting collapses the measured size to width(-1)/height(-1), hiding the chart.

  • Remove the manual ResponsiveContainer and wrapper div
  • Size the chart via ChartContainer className="aspect-auto h-[200px] w-full"

@dosubot dosubot Bot added size:L This PR changes 100-499 lines, ignoring generated files. bug Something isn't working labels Jul 7, 2026
@Siumauricio Siumauricio merged commit 0d79a0a into canary Jul 7, 2026
4 checks passed
@Siumauricio Siumauricio deleted the fix/requests-chart-not-visible branch July 7, 2026 01:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Requests tab chart not showing

1 participant