Skip to content

fix: layout overlapping inside treemap chart#1530

Merged
yifancong merged 3 commits intoweb-infra-dev:mainfrom
s-r-x:treemap-fix
Feb 9, 2026
Merged

fix: layout overlapping inside treemap chart#1530
yifancong merged 3 commits intoweb-infra-dev:mainfrom
s-r-x:treemap-fix

Conversation

@s-r-x
Copy link
Contributor

@s-r-x s-r-x commented Feb 6, 2026

Summary

there's a bug with the treemap chart, that one can reproduce by zooming in, then changing the tab, then going back:

Peek.2026-02-06.15-28.mp4

i was able to fix it by replacing Card with tabList prop with antd's Tabs to render the whole section (Tree Graph / Treemap)

it also fixes the tabs animation
before:

Peek.2026-02-06.14-29.mp4

after:

Peek.2026-02-06.15-08.mp4

the chart after the fix:

Peek.2026-02-06.15-26.mp4

@yifancong
Copy link
Contributor

Thank you for your code contribution.

@yifancong yifancong merged commit 32c437d into web-infra-dev:main Feb 9, 2026
5 checks passed
@yifancong yifancong mentioned this pull request Mar 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants