[Sidenav] Not opened for server-side render
- Dominant language
- TypeScript
- Stars
- 25k
- Forks
- 6.8k
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 91
Description
#### Bug, feature request, or proposal:
bug
#### What is the expected behavior?
sidenav being opened when rendered on server. Here is my usage:
```
... ...
```
It works on browser but not on server side rendering.
#### What is the current behavior?
It renders closed.
#### What are the steps to reproduce?
#### What is the use-case or motivation for changing an existing behavior?
SSR
#### Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular CLI: 1.5.4
Node: 6.9.1
OS: win32 x64
Angular: 5.0.3
... animations, common, compiler, compiler-cli, core, forms
... http, platform-browser, platform-browser-dynamic
... platform-server, router
@angular/cdk: 5.0.0-rc.2
@angular/cli: 1.5.4
@angular/flex-layout: 2.0.0-beta.10-4905443
@angular/language-service: 4.4.6
@angular/material: 5.0.0-rc.2
@angular-devkit/build-optimizer: 0.0.33
@angular-devkit/core: 0.0.21
@angular-devkit/schematics: 0.0.37
@ngtools/json-schema: 1.1.0
@ngtools/webpack: 1.8.4
@schematics/angular: 0.1.7
typescript: 2.4.2
webpack: 3.8.1
Contributor guide
Research direction
Start at the mat-sidenav entry point and reproduce the reported Angular platform-server case using [opened]="true". Investigate why server-side rendering produces a closed sidenav while browser rendering opens it; done means the sidenav renders open during SSR without regressing browser behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100