Skip to content

Sidenav backdrop problem when changing align dynamically from left to right #1236

Closed
@doorman02

Description

@doorman02

I have a push state sidenav which is aligned left or right depending on the size of the browser.
<md-sidenav align="{{alignAttr}}" mode="push">
I am detecting this on browser resize.

The sidenav push mechanism works fine, when align is set to start it appears from left and from right when set to end. However the main window which is under the black transparent backdrop is animated in the wrong direction when the align attribute changes dynamically.

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions