Skip to content

fix(material-experimental/mdc-chips): avoid unnecessary change detections #18043

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

Closed

Conversation

crisbeto
Copy link
Member

Avoids running the transitionend inside the NgZone for the MDC-based mat-chip since it fires a lot and it doesn't need to trigger change detection.

@crisbeto crisbeto added P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent target: patch This PR is targeted for the next patch release labels Dec 26, 2019
@crisbeto crisbeto requested a review from mmalerba as a code owner December 26, 2019 07:48
@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Dec 26, 2019
@mmalerba mmalerba added pr: lgtm action: merge The PR is ready for merge by the caretaker labels Dec 27, 2019
@crisbeto crisbeto force-pushed the mdc-chips-extra-change-detections branch from 2539d17 to 83276b1 Compare February 15, 2020 16:29
@mmalerba mmalerba removed the action: merge The PR is ready for merge by the caretaker label Feb 19, 2020
@mmalerba
Copy link
Contributor

looks like theres a lint issue

@crisbeto crisbeto added the action: merge The PR is ready for merge by the caretaker label Mar 3, 2020
@crisbeto crisbeto force-pushed the mdc-chips-extra-change-detections branch from 83276b1 to 2460ff6 Compare March 3, 2020 21:33
@crisbeto crisbeto force-pushed the mdc-chips-extra-change-detections branch from 2460ff6 to 4253d49 Compare April 3, 2020 20:26
@crisbeto crisbeto force-pushed the mdc-chips-extra-change-detections branch 2 times, most recently from 25cd59f to ad3f743 Compare April 12, 2020 16:56
@crisbeto crisbeto force-pushed the mdc-chips-extra-change-detections branch from ad3f743 to 7e45c83 Compare May 17, 2020 12:03
@mmalerba mmalerba removed the lgtm label Jul 31, 2020
@crisbeto crisbeto force-pushed the mdc-chips-extra-change-detections branch from 7e45c83 to a4cf2dd Compare May 5, 2021 19:33
…ions

Avoids running the `transitionend` inside the `NgZone` for the MDC-based `mat-chip` since it fires a lot and it doesn't need to trigger change detection.
@crisbeto crisbeto force-pushed the mdc-chips-extra-change-detections branch from a4cf2dd to dfdd323 Compare June 21, 2021 17:25
@andrewseguin andrewseguin added needs rebase and removed cla: yes PR author has agreed to Google's Contributor License Agreement labels Dec 28, 2021
@crisbeto
Copy link
Member Author

crisbeto commented Jan 3, 2022

Closing since this will be resolved in #23931.

@crisbeto crisbeto closed this Jan 3, 2022
@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 Feb 3, 2022
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 P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants