Description
Bug, feature request, or proposal:
Feature request, maybe.
What is the expected behavior?
Overlays work in server-side rendering.
What is the current behavior?
It doesn't work in server-side rendering.
What are the steps to reproduce?
Create a simple app which opens a dialog, and it will fail on server.
What is the use-case or motivation for changing an existing behavior?
However positioning without DOM, might be hard or impossible, simple use cases which is used in the opening dialog can be easy to handle. Opening dialog on server is the most important motivation, as it's common to have opened dialogs in some routes.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular CLI: 1.5.4
Node: 6.9.1
OS: win32 x64
Angular: 5.1.1
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, platform-server, router
@angular/cdk: 5.0.1
@angular/cli: 1.5.4
@angular/flex-layout: 2.0.0-beta.10-4905443
@angular/material: 5.0.1
@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