Skip to content

Md-Sidenav open mode bootstrap animation #6865

Closed
@ghost

Description

Bug, feature request, or proposal:

Bug

What is the expected behavior?

When using universal, the sidenav (in side mode) will be rendered already open in the initial page load, and then when the app bootstraps, it will stay open.

What is the current behavior?

The initial pre-rendered page loads with the sidenav closed, and then when the app boostraps, the sidenav animates open.

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

In beta 8, it worked perfectly. The initial pre-rendered html file aligned with the bootstrap re-render.
Now, the page loads with the sidenav closed, and after a number of seconds later (when the app bootstraps) the sidenav suddenly animates open, which is quite distracting.

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

Angular 4.3.3, material 2.0.0-beta8, windows 10

Metadata

Metadata

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentregressionThis issue is related to a regression

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions