components icon indicating copy to clipboard operation
components copied to clipboard

Margin-left not applied to mat-sidenav-content on page load

Open darshan-g opened this issue 9 years ago • 3 comments

Bug, feature request, or proposal:

Margin-left not applied to mat-sidenav-content on page load

What is the expected behavior?

The mat-sidenav-content should have margin-left of some value(>0px) if the drawer is open on page load

What is the current behavior?

On page load, the drawer is open (since opened="true" is applied to mat-sidenav element).The mat-sidenav-content has margin-left of 0px(instead of being 200px). When the drawer is closed the margin-left is 0px(as expected). Now if the drawer is opened mat-sidenav-content has margin-left of 200px(as expected). So, only on page load the issue exists.

What are the steps to reproduce?

What is the use-case or motivation for changing an existing behavior?

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Angular Material - 2.0.0-beta.12

Is there anything else we should know?

darshan-g avatar Oct 25 '17 09:10 darshan-g

I have same issue.

grapgrap avatar Oct 31 '17 01:10 grapgrap

closing as dup of #6743

mmalerba avatar Nov 21 '17 20:11 mmalerba

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.