Open Trolejbus opened 1 month ago
Same error here. Had to remove Zoneless support
Same error here. Had to remove Zoneless support
Hey, you can check my example. In this particular issue you can trigger change detection manually as a potential workaround for this issue :)
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.