Dialog: dragging state is not reset when closed while dragging #6356
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
The
dragging
state of the dialog is not reset when it is closed (by hitting escape) while dragging.Reproducer
https://stackblitz.com/edit/primevue-4-ts-vite-issue-template-buzsbf
PrimeVue version
4.0.5
Vue version
4.x
Language
TypeScript
Build / Runtime
Vite
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
The dialog's
dragging
state should reset once closed and the dialog should not follow the mouse when it is re-opened.The text was updated successfully, but these errors were encountered: