You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If confirmDialog is already opened and called again to be open inside reject or accept method, the next confirmDialog is automatically closed. But with a little timeout between closing and opening again, it's working.
1- In stackblitz example, click save
2a- If click Yes => Next confirmDialog is automatically closed
2b- if click No => With the timeout, the next confirmDialog works fine.
Expected behavior
ConfirmDialog should show and stay on screen if the method to open is called inside accept or reject methods.
The text was updated successfully, but these errors were encountered:
So sorry for the delayed response! Improvements have been made to many components recently, both in terms of performance and enhancement. Therefore, this improvement may have been developed in another issue ticket without realizing it. You can check this in the documentation. If there is no improvement on this, can you open a new issue so we can include it in our roadmap?
Thanks a lot for your understanding!
Best Regards,
Describe the bug
Hello,
If confirmDialog is already opened and called again to be open inside reject or accept method, the next confirmDialog is automatically closed. But with a little timeout between closing and opening again, it's working.
Environment
Angular app
Reproducer
https://stackblitz.com/edit/g7tnmw?file=src%2Fapp%2Fconfirm-dialog-basic-demo.ts
Angular version
17.3.8
PrimeNG version
17.17.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
20
Browser(s)
Chrome 125
Steps to reproduce the behavior
1- In stackblitz example, click save
2a- If click Yes => Next confirmDialog is automatically closed
2b- if click No => With the timeout, the next confirmDialog works fine.
Expected behavior
ConfirmDialog should show and stay on screen if the method to open is called inside accept or reject methods.
The text was updated successfully, but these errors were encountered: