Skip to content

perf(material-experimental/mdc-chips): avoid excessive change detection on transitionend #19039

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
wants to merge 1 commit into from

Conversation

crisbeto
Copy link
Member

The MDC-based chip has a transitionend event on the root that fires very frequently for things like ripples, but the chip only cares about the ones on width and opacity. These changes run the event outside of Angular and only bring it back inside when necessary.

…on on transitionend

The MDC-based chip has a `transitionend` event on the root that fires very frequently for things like ripples, but the chip only cares about the ones on `width` and `opacity`. These changes run the event outside of Angular and only bring it back inside when necessary.
@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 Apr 10, 2020
@crisbeto crisbeto requested a review from mmalerba as a code owner April 10, 2020 11:20
@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Apr 10, 2020
@crisbeto
Copy link
Member Author

Meh, looks like I made a PR for this already and I forgot about it. #18043.

@crisbeto crisbeto closed this Apr 12, 2020
@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 May 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes PR author has agreed to Google's Contributor License Agreement 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.

3 participants