Components: [sidenav/drawer] Dynamic width

Created on 22 Aug 2017  路  5Comments  路  Source: angular/components

Bug, feature request, or proposal:

feature request

What is the expected behavior?

I expect .mat-drawer-content to change margin value after I change width on <md-drawer>

What is the current behavior?

<md-drawer> Has no API for dynamic width change

What are the steps to reproduce?

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

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

I want to allow my users change sidebar width while it is opened.

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

@angular/cli: 1.2.7
node: 8.2.1
os: win32 x64
@angular/animations: 5.0.0-beta.2
@angular/cdk: 2.0.0-beta.8-5e3228f
@angular/common: 5.0.0-beta.2
@angular/compiler: 5.0.0-beta.2
@angular/core: 5.0.0-beta.2
@angular/flex-layout: 2.0.0-beta.8
@angular/forms: 5.0.0-beta.2
@angular/http: 5.0.0-beta.2
@angular/material: 2.0.0-beta.8-5e3228f
@angular/platform-browser: 5.0.0-beta.2
@angular/platform-browser-dynamic: 5.0.0-beta.2
@angular/platform-server: 5.0.0-beta.2
@angular/router: 5.0.0-beta.2
@angular/cli: 1.2.7
@angular/compiler-cli: 5.0.0-beta.2

Is there anything else we should know?

Does such API makes sense at all?

P.S it worked in that way in previous versions

Most helpful comment

deal, lets track this issue there

All 5 comments

I can reproduce this issue in the latest @angular/[email protected]. Hope you can fix it. Thanks!

I can reproduce this issue with beta 10.

I think this can be closed as duplicate of #6743

deal, lets track this issue there

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._

Was this page helpful?
0 / 5 - 0 ratings

Related issues

michaelb-01 picture michaelb-01  路  3Comments

vanor89 picture vanor89  路  3Comments

RoxKilly picture RoxKilly  路  3Comments

Miiekeee picture Miiekeee  路  3Comments

MurhafSousli picture MurhafSousli  路  3Comments