Skip to content

bug(sidenav): the drawer-container is animated when initialized #7007

@QuentinFchx

Description

@QuentinFchx

Bug, feature request, or proposal:

Bug

What is the expected behavior?

When initializing a md-sidenav-container, the container should not be animated.

What is the current behavior?

When initializing a md-sidenav-container, the container is animated.
The md-sidenav (alias md-drawer) is initialized, the open-instant animation state is used, opening the sidenav without animation.
However there is no such thing on the md-drawer-container: the transition is always set.

What are the steps to reproduce?

No time for a plunkr yet but I will provide it later if necessary

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

Since the drawer is not animating, it makes no sense to animate the container.
And since the drawer is being initialized, (open)/(close) events are not triggered

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

beta-10

Is there anything else we should know?

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