-
Notifications
You must be signed in to change notification settings - Fork 6.8k
refactor(badge): rework to account for ivy changes #15555
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
Conversation
const contentChange = changes.content; | ||
|
||
if (contentChange) { | ||
const value = contentChange.currentValue; |
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.
Can you add a comment here like
// It's important that this happens in onChanges rather than in a setter because...
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.
Done.
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
Reworks `matBadge` to account for Ivy setting static inputs before the view has been rendered out. This caused one of the tests to fail, because it relied on the view being in place when the `content` setter is called.
Removes the test that was fixed by angular/components#15555 from the blocklist.
Removes the test that was fixed by angular/components#15555 from the blocklist. PR Close #29484
Removes the test that was fixed by angular/components#15555 from the blocklist. PR Close angular#29484
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. |
Reworks
matBadge
to account for Ivy setting static inputs before the view has been rendered out. This caused one of the tests to fail, because it relied on the view being in place when thecontent
setter is called.