Skip to content

fix: Optimises initial chart rendering when using bottom legend#212

Closed
jsilll wants to merge 2 commits intocloudscape-design:mainfrom
jsilll:main
Closed

fix: Optimises initial chart rendering when using bottom legend#212
jsilll wants to merge 2 commits intocloudscape-design:mainfrom
jsilll:main

Conversation

@jsilll
Copy link
Copy Markdown
Contributor

@jsilll jsilll commented Apr 23, 2026

Fixes a rendering issue where the chart would display with incorrect height
when fitHeight is enabled with a bottom legend position. The chart now
remains hidden (via CSS visibility) until the footer measurements complete,
preventing visual glitches during the measurement phase.

@jsilll jsilll requested a review from a team as a code owner April 23, 2026 16:53
@jsilll jsilll requested review from cansuaa and removed request for a team April 23, 2026 16:53
Comment thread src/core/chart-api/chart-extra-legend.tsx Outdated
Comment thread src/core/chart-api/index.tsx Outdated
Comment thread src/core/chart-api/index.tsx Outdated
@jsilll jsilll changed the title fix: seed legend items synchronously during render fix: hide chart during footer measurement when using bottom legend Apr 28, 2026
@pan-kot pan-kot changed the title fix: hide chart during footer measurement when using bottom legend fix: Optimises initial chart rendering when using bottom legend Apr 30, 2026
@jsilll jsilll closed this May 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants