-
Notifications
You must be signed in to change notification settings - Fork 6.8k
fix,perf(column-resize): Coalesce style updates along with sticky styler #20086
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix,perf(column-resize): Coalesce style updates along with sticky styler #20086
Conversation
bd05991
to
23569ea
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just a couple nits
Also want @andrewseguin to take a look
b74e9b3
to
39c1d99
Compare
39c1d99
to
db08c35
Compare
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Coalesces style updates triggered by the column resize system to trigger less layout thrashing. Also updates sticky column styles when resizing a column.
The net effect is a substantial improvement when applying min/max sizes at startup and a bit of a wash when actively resizing. The gains in active resize performance are mostly offset by the additional cost of recomputing sticky styles (but it was a bug before that they were not being recomputed). Should be much better for tables without sticky columns though.