-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
drawer container not reacting to drawer removal #7672
Comments
Can you reproduce in StackBlitz? |
It works there, but I believe that the code is merged to master but it's not in the latest build. Because I got the latest using npm install --save @angular/material @angular/cdk. The first time when the page loads the margin-left for mat-sidenav-content is 0px, and when I click the + button the margin seems to get applied as expected, i.e. the toggle functionality works fine |
Though it seems to works fine, https://stackblitz.com/edit/angular-material2-issue-moq6k8?file=app%2Fapp.component.html Can you expand on what exactly the issue is? |
So, I mean this works fine in https://angular-material2-issue-qbxhcv.stackblitz.io In my machine (fyi i did npm install --save @angular/material @angular/cdk) when I try to do the same thing, on the page load mat-sidenav-content has margin-left: 0px. When I click on the '+' button on the the mat-sidenav-content, mat-sidenav element hides(as expected). Now the mat-sidenav-content has margin-left: 0px. Again if I click the '+' button on the the mat-sidenav-content, mat-sidenav element appears and the mat-sidenav-content has margin-left: 200px. And from now on the toggle functionality works fine. So, the bug is that on page load when mat-sidenav element is visible, the margin-left for mat-sidenav-content should be 200px. |
Without providing a reproduction, this will be very difficult for anyone to track down. Are you positive beta.12 is installed? |
Yes, these are my packages: |
Any update on this? |
Please keep GitHub issues for bug reports / feature requests. Better avenues for troubleshooting / questions are stack overflow, gitter, mailing list, etc. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
fix(drawer): drawer container not reacting to drawer removal #7060
I got the latest using npm install --save @angular/material @angular/cdk
But still the issue seems to exist. Is the change not yet deployed?
The text was updated successfully, but these errors were encountered: