Skip to content

cdk-describedby-message-container appears twice with SSR / Angular Universal #11817

Closed
@Trysor

Description

@Trysor

Bug, feature request, or proposal:

Bug

What is the expected behavior?

For cdk-describedby-message-container to appear only once in DOM

What is the current behavior?

It appears twice; appears first in the SSR-rendered output by Angular Universal, and then again after the SPA has fully loaded.

What are the steps to reproduce?

  1. Create an Angular Universal application with material / CDK
  2. Create component which causes describedby messages to be created
  3. Launch the Universal application

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

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

Angular CLI: 6.1.0-rc.0
Node: 10.2.1
OS: win32 x64
Angular: 6.1.0-beta.1

angular-devkit 0.7.0-rc.0
angular/cdk 6.2.1
angular/material 6.2.1
ngtools/webpack 6.1.0-rc.0
schematics/angular 0.7.0-rc.0
schematics/update 0.7.0-rc.0
rxjs 6.2.1
typescript 2.7.2
webpack 4.9.2

nguniversal/common 6.0.0
nguniversal/express-engine 6.0.0
nguniversal/module-map-ngfactory-loader 6.0.0

Is there anything else we should know?

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