fix(Dialog): reset dragging state when closing
parent
3564633889
commit
f663868463
|
@ -163,6 +163,10 @@ export default {
|
||||||
if (this.modal) {
|
if (this.modal) {
|
||||||
!this.isUnstyled && addClass(this.mask, 'p-overlay-mask-leave');
|
!this.isUnstyled && addClass(this.mask, 'p-overlay-mask-leave');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (this.dragging && this.documentDragEndListener) {
|
||||||
|
this.documentDragEndListener();
|
||||||
|
}
|
||||||
},
|
},
|
||||||
onLeave() {
|
onLeave() {
|
||||||
this.$emit('hide');
|
this.$emit('hide');
|
||||||
|
|
Loading…
Reference in New Issue