-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dynamic dialog module (same instances on top of each other) and update deprecated methods #13646
Comments
Hi, thanks for your post.
|
Fix #13646 dynamic dialog module same instances on top of each other/get rid of deprecated implementation
This bit us in the behind. We have a scenario where we intentionally have instances on top of each other and this changed the default behavior. Thankfully I found the flag you added for "duplicate" in the DynamicDialogConfig, but I think by default the behavior should have been left alone and a flag added to disallow duplicates. |
@SoyDiego @thedavidhoffman do you want me to make a second PR? |
No, I'm not part of primeng team, but if something is broken with your fix or you can improve it the code before obviously you can do it but first is important create the issue explaining and then the PR :D |
Describe the bug
you can open a specific type of dynamic dialog many times on top of each other
example:
https://github.com/shayan-ghzl/angular-primeng-dynamic-dialog-test
stackblitz:
https://stackblitz.com/edit/angular-nw6ebt
Environment
angular verison 16
Reproducer
https://stackblitz.com/edit/angular-nw6ebt
Angular version
16.2.4
PrimeNG version
16.3.1
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.16.0
Browser(s)
chrome
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: