Skip to content

perf(table): keep the column layout when only the body rows change - #128

Merged
Agustin-Delgado merged 1 commit into
mainfrom
perf/table-body-rows-layout
Oct 15, 2026
Merged

Agustin-Delgado merged 1 commit into
mainfrom
perf/table-body-rows-layout

Conversation

@Agustin-Delgado

Copy link
Copy Markdown
Collaborator

A change in the body's rows no longer invalidates the column layout and the measured widths. Adding a row to a 40-line editable sheet forced a synchronous layout (getBoundingClientRect in getMeasuredTableWidth) on every add; the container's size still reaches the widths through the root's ResizeObserver. The logical row index cache is a plain Map.

🤖 Generated with Claude Code

@vercel

vercel Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
human-kit-ui-docs Ready Ready Preview Oct 15, 2026 10:49pm UTC

@Agustin-Delgado
Agustin-Delgado merged commit 9600a44 into main Oct 15, 2026
5 of 7 checks passed

This branch was successfully deployed

1 active deployment
Preview — bfa71510 Deployed Oct 15, 2026 by vercel[bot]
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.

1 participant