Search code examples
angularprimengprimeng-datatable

Angular-8 : p-confirm dialog not opening on top of p-dialog of primeng


Angular 8 +primeng 8

We have used Primeng package Issue : When we try to open confirm dialog of Primeng from p-dialog then its not opening. But when we try to open confirm dialog directly from page itself then it opens correctly.

Even we tried to add appendTo="body" attribute on p-dialog and p-confirmDialog

refer below code

<p-confirmDialog key="deletealerts" header="Confirmation" icon="pi pi-exclamation-triangle"></p-confirmDialog>

Thank you


Solution

  • adding appendTo="body" only to p-confirmDialog not worked though.. is having issue for opening another

    So what we did achieved for this is we opened another on top of existing and given confirmation message like view with yes/no buttons.