Differences between PrimeNG 9 and 10: Embedded dialog cannot be moved properly
[ X] bug report => Search github for a similar issue or PR before submitting
[ ] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primeng/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=35
Plunkr Case (Bug Reports)
- NG 9: https://stackblitz.com/edit/ng9-primengdialog?file=src/app/app.component.html
- NG 10: https://stackblitz.com/edit/ng10-primengdialog?file=src/app/app.component.html
Current behavior With PrimeNG 10: If a dialog is opened from another dialog, the width is not adjusted accordingly and the dialog cannot be moved properly. It all works properly if everything is defined in the same template
Expected behavior Embedded dialogs with content from other templates should work properly (moving and resizing)
Minimal reproduction of the problem with instructions See Stackblitz examples.
What is the motivation / use case for changing the behavior? The real world is not always easy. More complex and embedded dialogues should also work like this.
Please tell us about your environment:
Angular version / PrimeNG version:
- Angular 9 and PrimeNG 9
- Anguler 10 and PrimeNG 10
Browser:
- Chrome
- Firefox
Hi,
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 reopen the issue so we can include it in our roadmap? Please don't forget to add your feedback as a comment after reopening the issue. These will be taken into account by us and will contribute to the development of this feature. Thanks a lot for your understanding!
Best Regards,