Skip to content

Conversation

@crisbeto
Copy link
Member

@crisbeto crisbeto commented Jul 4, 2018

Fixes the sidenav going into an infinite change detection loop when using the autosize option. Initially this was fixed in #11231, but it got reintroduced in #11986 where we started comparing 0 against null which always evaluates to true.

Fixes #11215.

Fixes the sidenav going into an infinite change detection loop when using the `autosize` option. Initially this was fixed in angular#11231, but it got reintroduced in angular#11986 where we started comparing `0` against `null` which always evaluates to true.

Fixes angular#11215.
@crisbeto crisbeto added the target: patch This PR is targeted for the next patch release label Jul 4, 2018
@crisbeto crisbeto requested a review from mmalerba as a code owner July 4, 2018 20:00
@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Jul 4, 2018
@mmalerba mmalerba added P1 Impacts a large percentage of users; if a workaround exists it is partial or overly painful pr: lgtm action: merge The PR is ready for merge by the caretaker regression This issue is related to a regression labels Jul 6, 2018
@mmalerba
Copy link
Contributor

mmalerba commented Jul 6, 2018

@crisbeto any way to add a test for this since we've already had a regression once?

@crisbeto
Copy link
Member Author

crisbeto commented Jul 6, 2018

I think it would be difficult to add a test for this. We'd have to add something that counts the number of change detection runs which would be very flaky.

@jelbourn jelbourn merged commit 330176d into angular:master Jul 11, 2018
victoriaaa234 pushed a commit that referenced this pull request Jul 25, 2018
…12067)

Fixes the sidenav going into an infinite change detection loop when using the `autosize` option. Initially this was fixed in #11231, but it got reintroduced in #11986 where we started comparing `0` against `null` which always evaluates to true.

Fixes #11215.
@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 Sep 9, 2019
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 cla: yes PR author has agreed to Google's Contributor License Agreement P1 Impacts a large percentage of users; if a workaround exists it is partial or overly painful regression This issue is related to a regression target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MatSideNav autosize runs into ngZone 100% CPU

4 participants