diff --git a/packages/primevue/src/dialog/Dialog.vue b/packages/primevue/src/dialog/Dialog.vue index 430dae48c..5d8538ecb 100755 --- a/packages/primevue/src/dialog/Dialog.vue +++ b/packages/primevue/src/dialog/Dialog.vue @@ -163,6 +163,10 @@ export default { if (this.modal) { !this.isUnstyled && addClass(this.mask, 'p-overlay-mask-leave'); } + + if (this.dragging && this.documentDragEndListener) { + this.documentDragEndListener(); + } }, onLeave() { this.$emit('hide');