Component: DynamicDialog not working with zonejs less application #16402
Labels
Resolution: Help Wanted
Issue or pull request requires extra help and feedback
Milestone
Describe the bug
I am not sure if PrimeNg lib is adapted to work with zonejs less Angular application (with provideExperimentalZonelessChangeDetection()), but if so than after closing dynamic dialog with overlay mask behind it, dialog is correctly closed, but overlay is not destroyed from html.
Environment
Windows/Chrome 128.0.6613.138
Reproducer
https://stackblitz.com/edit/stackblitz-starters-tpcpxh?file=src%2Fmain.ts
Angular version
18.0.2
PrimeNG version
17.18.10
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
v20.10.0
Browser(s)
Chrome 128.0.6613.138
Steps to reproduce the behavior
Uncommenting commented code fixes issue.
Expected behavior
Overlay should be destroyed after closing dialog.
The text was updated successfully, but these errors were encountered: