Skip to content

[sidenav/drawer] Dynamic width #6583

Closed
Closed

Description

@Nodarii

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

Activity

  1. adrm commented on Aug 30, 2017

    @adrm

    I can reproduce this issue in the latest @angular/material@2.0.0-beta.10. Hope you can fix it. Thanks!

  2. SpiderPork commented on Sep 1, 2017

    @SpiderPork

    I can reproduce this issue with beta 10.

  3. adrm commented on Oct 3, 2017

    @adrm

    I think this can be closed as duplicate of #6743

  4. Nodarii commented on Oct 3, 2017

    @Nodarii
    Author

    deal, lets track this issue there

  5. angular-automatic-lock-bot commented on Sep 7, 2019

    @angular-automatic-lock-bot

    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.

  6. locked and limited conversation to collaborators on Sep 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions