Skip to content

fix(cdk/scrolling): Prevent virtual scroll 'flickering' with zoneless #31316

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

Merged
merged 3 commits into from
Jul 17, 2025

Conversation

atscott
Copy link
Contributor

@atscott atscott commented Jun 8, 2025

This commit reworks the change detection coalescing to use signal and effects, which ensures the transform and the afterNextRender are applied within the same application tick without any awkward workarounds or fiddling with being inside or outside the zone

This commit reworks the change detection coalescing to use signal and effects, which ensures the transform and the afterNextRender are applied within the same application tick without any awkward workarounds or fiddling with being inside or outside the zone
@atscott atscott marked this pull request as ready for review July 15, 2025 19:52
@atscott atscott requested a review from a team as a code owner July 15, 2025 19:52
@atscott atscott requested review from crisbeto and andrewseguin and removed request for a team July 15, 2025 19:52
@atscott
Copy link
Contributor Author

atscott commented Jul 17, 2025

@atscott atscott added the action: merge The PR is ready for merge by the caretaker label Jul 17, 2025
@mmalerba mmalerba added the target: patch This PR is targeted for the next patch release label Jul 17, 2025
@mmalerba mmalerba merged commit cea7989 into angular:main Jul 17, 2025
33 of 36 checks passed
mmalerba pushed a commit that referenced this pull request Jul 17, 2025
…#31316)

* fix(cdk/scrolling): Prevent virtual scroll 'flickering' with zoneless

This commit reworks the change detection coalescing to use signal and effects, which ensures the transform and the afterNextRender are applied within the same application tick without any awkward workarounds or fiddling with being inside or outside the zone

* fixup! fix(cdk/scrolling): Prevent virtual scroll 'flickering' with zoneless

* fixup! fix(cdk/scrolling): Prevent virtual scroll 'flickering' with zoneless

(cherry picked from commit cea7989)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action: merge The PR is ready for merge by the caretaker area: cdk/scrolling 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