Skip to content
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

perf(cdk/table): Use ResizeObservers instead of dom measurement to re… #29814

Merged
merged 1 commit into from
Oct 28, 2024

Conversation

kseamon
Copy link
Collaborator

@kseamon kseamon commented Oct 2, 2024

…duce layout thrashing (where possible)

There's still one set of measurements at startup. It might be possible to eliminate that along with some of the existing code with some additional changes but as-is this is already a substantial improvement.

@kseamon kseamon force-pushed the table-sticky-styler-resize-observer branch 2 times, most recently from 5107c66 to 2d61ba1 Compare October 2, 2024 18:53
@kseamon kseamon force-pushed the table-sticky-styler-resize-observer branch from 6fa630b to afeac37 Compare October 2, 2024 19:21
@kseamon kseamon requested a review from andrewseguin October 2, 2024 19:21
@andrewseguin andrewseguin added action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release labels Oct 3, 2024
@crisbeto crisbeto marked this pull request as ready for review October 28, 2024 07:36
@crisbeto crisbeto requested a review from a team as a code owner October 28, 2024 07:36
@crisbeto crisbeto requested review from crisbeto and mmalerba and removed request for a team October 28, 2024 07:36
@crisbeto
Copy link
Member

I'm merging this since the internal change was submitted, causing things to be out of sync.

@crisbeto crisbeto removed the request for review from mmalerba October 28, 2024 07:37
@crisbeto crisbeto merged commit 8c52b6d into angular:main Oct 28, 2024
25 of 27 checks passed
crisbeto pushed a commit that referenced this pull request Oct 28, 2024
…duce layout thrashing (where possible) (#29814)

(cherry picked from commit 8c52b6d)
crisbeto pushed a commit that referenced this pull request Oct 28, 2024
…duce layout thrashing (where possible) (#29814)

(cherry picked from commit 8c52b6d)
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Nov 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants