angular/components

Cdk Overlay backdrop does not respect noopanimations

Fechada

#18.645 aberto em 28 de fev. de 2020

 (1 comentário) (0 reação) (0 responsável)TypeScript (6.650 forks)batch import
GP4area: cdk/overlayhelp wanted

Métricas do repositório

Stars
 (24.044 estrelas)
Métricas de merge de PR
 (Mesclagem média 3d 12h) (98 fundiu PRs em 30d)

Description

Reproduction

Use StackBlitz to reproduce your issue: https://stackblitz.com/fork/components-issue

Steps to reproduce:

  1. import NoopAnimationsModule
  2. Create a dialog https://stackblitz.com/edit/angular-fdgmah (based on example dialog stackblitz)

Expected Behavior

What behavior were you expecting to see?

The dark overlay appears immediately with no animation

Actual Behavior

What behavior did you actually see?

The overlay backdrop fades in over 400ms.

Environment

  • Angular: 9.1
  • CDK/Material: 9.1
  • Browser(s): Chrome
  • Operating System (e.g. Windows, macOS, Ubuntu): Linux

Guia do colaborador