Skip to content

[sidenav/drawer] Dynamic width #6583

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

Closed
Nodarii opened this issue Aug 22, 2017 · 5 comments
Closed

[sidenav/drawer] Dynamic width #6583

Nodarii opened this issue Aug 22, 2017 · 5 comments
Assignees

Comments

@Nodarii
Copy link

Nodarii commented Aug 22, 2017

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

@adrm
Copy link

adrm commented Aug 30, 2017

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

@SpiderPork
Copy link

I can reproduce this issue with beta 10.

@adrm
Copy link

adrm commented Oct 3, 2017

I think this can be closed as duplicate of #6743

@Nodarii
Copy link
Author

Nodarii commented Oct 3, 2017

deal, lets track this issue there

@Nodarii Nodarii closed this as completed Oct 3, 2017
@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

No branches or pull requests

4 participants