angular/components
Cdk Overlay backdrop does not respect noopanimations
Geschlossen
#18.645 geöffnet am 28.02.2020
GP4area: cdk/overlayhelp wanted
Repository-Metriken
- Stars
- (24.044 Sterne)
- PR-Merge-Metriken
- (Durchschn. Merge 3T 12h) (98 gemergte PRs in 30 T)
Beschreibung
Reproduction
Use StackBlitz to reproduce your issue: https://stackblitz.com/fork/components-issue
Steps to reproduce:
- import NoopAnimationsModule
- 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