fix(Dialog): reset dragging state when closing
parent
3564633889
commit
f663868463
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue