Skip to content

fix(cdk-experimental/scrolling): Fix ExpressionChangedAfterItWasCheckedError #31076

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

atscott
Copy link
Contributor

@atscott atscott commented May 9, 2025

This fixes an expressionchanged... error in the scrolling where template updates
were not accompanied by a change notification (markforCheck/signal
update, etc).

First commit is #31069

atscott added 2 commits May 9, 2025 08:36
When components use `OnPush`, they prevent `ExpressionHasChanged...`
from being thrown when it should (angular/angular#45612).
The exhaustive option ignores dirty
flags and traverses the entire view tree checking for changes. This
commit configures component tests to do this by default and opts out any
tests with existing issues.
…edError

This fixes an expressionchanged... error in the scrolling where template updates
were not accompanied by a change notification (`markforCheck`/signal
update, etc).
@atscott atscott requested review from a team as code owners May 9, 2025 18:58
@atscott atscott requested review from crisbeto and wagnermaciel and removed request for a team May 9, 2025 18:58
@atscott atscott added the target: rc This PR is targeted for the next release-candidate label May 9, 2025
@atscott atscott requested a review from mmalerba May 9, 2025 18:59
@devversion devversion removed the request for review from a team May 12, 2025 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
target: rc This PR is targeted for the next release-candidate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants