Dialog: Dialog moves to another position instead of closing after pressing close button #15022
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
Dialogs with defined position has a buggy behavior sometimes when you press the close button. The expected behavior would be to close the dialog but the dialog moves further to the initial defined position.
Environment
You can find this issue on primeng documentation: https://primeng.org/dialog#position
Windows 10
Chrome Version 122.0.6261.112 (Official Build) (64-bit)
Reproducer
https://primeng.org/dialog#position
Angular version
17.1.1
PrimeNG version
17.10.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
Any
Browser(s)
Chrome Version 122.0.6261.112 (Official Build) (64-bit)
Steps to reproduce the behavior
Expected behavior
Once we click dialog close button, the dialog should always close instead of moving itself to any position.
The text was updated successfully, but these errors were encountered: