Skip to content

Conversation

crisbeto
Copy link
Member

@crisbeto crisbeto commented Aug 1, 2017

  • Avoids recalculating the sidenav inline styles for every change detection cycle while the sidenav is open by doing it only when an animation starts.
  • Removes a few one-liner methods that were being used in one place.

Fixes #6205

@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Aug 1, 2017
Copy link
Contributor

@mmalerba mmalerba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1000 I hope I'm not the one that wrote this originally... but I probably am ><

@mmalerba mmalerba added pr: lgtm action: merge The PR is ready for merge by the caretaker and removed pr: needs review labels Aug 1, 2017
@jelbourn
Copy link
Member

jelbourn commented Aug 1, 2017

Nah, it was totes Hans

@tinayuangao
Copy link
Contributor

@crisbeto Could you please rebase? Thanks!

@crisbeto
Copy link
Member Author

crisbeto commented Aug 2, 2017

Rebased @tinayuangao.

… open

* Avoids recalculating the sidenav inline styles for every change detection cycle while the sidenav is open by doing it only when an animation starts.
* Removes a few one-liner methods that were being used in one place.
@crisbeto crisbeto force-pushed the sidenav-recalc-styles branch from 3f5ba45 to bd97dba Compare August 2, 2017 05:12
@tinayuangao tinayuangao merged commit 57a2f29 into angular:master Aug 2, 2017
crisbeto added a commit to crisbeto/material2 that referenced this pull request Nov 16, 2017
Adds the `autosize` input that allows users to opt-in to drawers that auto-resize, similarly to the behavior before angular#6189. The behavior is off by default, because it's unnecessary for most use cases and can cause performance issues.

Fixes angular#6743.
crisbeto added a commit to crisbeto/material2 that referenced this pull request Nov 17, 2017
Adds the `autosize` input that allows users to opt-in to drawers that auto-resize, similarly to the behavior before angular#6189. The behavior is off by default, because it's unnecessary for most use cases and can cause performance issues.

Fixes angular#6743.
crisbeto added a commit to crisbeto/material2 that referenced this pull request Nov 17, 2017
Adds the `autosize` input that allows users to opt-in to drawers that auto-resize, similarly to the behavior before angular#6189. The behavior is off by default, because it's unnecessary for most use cases and can cause performance issues.

Fixes angular#6743.
crisbeto added a commit to crisbeto/material2 that referenced this pull request Nov 17, 2017
Adds the `autosize` input that allows users to opt-in to drawers that auto-resize, similarly to the behavior before angular#6189. The behavior is off by default, because it's unnecessary for most use cases and can cause performance issues.

Fixes angular#6743.
crisbeto added a commit to crisbeto/material2 that referenced this pull request Nov 28, 2017
Adds the `autosize` input that allows users to opt-in to drawers that auto-resize, similarly to the behavior before angular#6189. The behavior is off by default, because it's unnecessary for most use cases and can cause performance issues.

Fixes angular#6743.
crisbeto added a commit to crisbeto/material2 that referenced this pull request Dec 4, 2017
Adds the `autosize` input that allows users to opt-in to drawers that auto-resize, similarly to the behavior before angular#6189. The behavior is off by default, because it's unnecessary for most use cases and can cause performance issues.

Fixes angular#6743.
crisbeto added a commit to crisbeto/material2 that referenced this pull request Dec 4, 2017
Adds the `autosize` input that allows users to opt-in to drawers that auto-resize, similarly to the behavior before angular#6189. The behavior is off by default, because it's unnecessary for most use cases and can cause performance issues.

Fixes angular#6743.
mmalerba pushed a commit that referenced this pull request Dec 5, 2017
)

Adds the `autosize` input that allows users to opt-in to drawers that auto-resize, similarly to the behavior before #6189. The behavior is off by default, because it's unnecessary for most use cases and can cause performance issues.

Fixes #6743.
@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 6, 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sidenav forces render each change detection
5 participants