Skip to content
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

[sidenav] container styles not updated after sidenav destroy or mode change #6271

Closed
willshowell opened this issue Aug 4, 2017 · 9 comments · Fixed by #7060
Closed

[sidenav] container styles not updated after sidenav destroy or mode change #6271

willshowell opened this issue Aug 4, 2017 · 9 comments · Fixed by #7060
Assignees

Comments

@willshowell
Copy link
Contributor

Bug, feature request, or proposal:

Regression

Expected

  • Destroying a open sidenav should update container styles
  • Modifying an open sidenav's mode should update container styles

Reproduction

http://plnkr.co/edit/eKqzpiCPUXGVHjknmq6F?p=preview

cc @crisbeto

@crisbeto
Copy link
Member

crisbeto commented Aug 4, 2017

Probably best to wait with this until #6260 is merged.

@willshowell
Copy link
Contributor Author

@crisbeto, @mmalerba no major refactors are underway right now are they? I feel like this is a very important regression, especially the mode changing aspect.

@crisbeto crisbeto self-assigned this Sep 13, 2017
crisbeto added a commit to crisbeto/material2 that referenced this issue Sep 13, 2017
… change

* Fixes the drawer container not reacting if one of the drawers is destroyed.
* Fixes the drawer container not reacting if the mode of a drawer is changed.

Fixes angular#6271.
crisbeto added a commit to crisbeto/material2 that referenced this issue Sep 13, 2017
… change

* Fixes the drawer container not reacting if one of the drawers is destroyed.
* Fixes the drawer container not reacting if the mode of a drawer is changed.

Fixes angular#6271.
crisbeto added a commit to crisbeto/material2 that referenced this issue Sep 13, 2017
… change

* Fixes the drawer container not reacting if one of the drawers is destroyed.
* Fixes the drawer container not reacting if the mode of a drawer is changed.

Fixes angular#6271.
crisbeto added a commit to crisbeto/material2 that referenced this issue Sep 26, 2017
… change

* Fixes the drawer container not reacting if one of the drawers is destroyed.
* Fixes the drawer container not reacting if the mode of a drawer is changed.

Fixes angular#6271.
crisbeto added a commit to crisbeto/material2 that referenced this issue Sep 26, 2017
Fixes the drawer container not reacting if one of the drawers is destroyed.

Fixes angular#6271.
@rosslavery
Copy link

This one is a really painful regression, any chance of getting an expedited merge, even so we can start using it via material2-builds?

@mmalerba
Copy link
Contributor

The fix for changing modes has been merged: #6260. The fix for drawer removal is ready but not merged yet: #7060

@rosslavery
Copy link

rosslavery commented Sep 27, 2017

@mmalerba I don't the fix in #6260 is working then, because switching modes only takes effect if you toggle the sidenav.

For example, if it's open and set to side and then you set it to over while it is open, it doesn't update. You need to close and re-open the sidenav for the new mode to take effect.

See Plunkr (based on issue template plunkr): http://plnkr.co/edit/ODfeJBJEece2dvMJesNj?p=preview

Should I create a new issue?

@willshowell
Copy link
Contributor Author

@rosslavery I think @mmalerba meant #6712 for the mode changes.

@rosslavery
Copy link

rosslavery commented Sep 27, 2017 via email

@willshowell
Copy link
Contributor Author

@rosslavery I think it just barely missed beta.11. It's also not yet available in the material2-builds yet due to some CI issue

crisbeto added a commit to crisbeto/material2 that referenced this issue Sep 29, 2017
Fixes the drawer container not reacting if one of the drawers is destroyed.

Fixes angular#6271.
andrewseguin pushed a commit that referenced this issue Sep 29, 2017
Fixes the drawer container not reacting if one of the drawers is destroyed.

Fixes #6271.
@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 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants