Fix scrollbar break while closing image preview
parent
bba012857d
commit
b95d34a266
|
@ -163,6 +163,7 @@ export default {
|
||||||
!this.isUnstyled && DomHandler.addClass(this.mask, 'p-component-overlay-leave');
|
!this.isUnstyled && DomHandler.addClass(this.mask, 'p-component-overlay-leave');
|
||||||
},
|
},
|
||||||
onLeave() {
|
onLeave() {
|
||||||
|
DomHandler.removeClass(document.body, 'p-overflow-hidden');
|
||||||
this.$emit('hide');
|
this.$emit('hide');
|
||||||
},
|
},
|
||||||
onAfterLeave(el) {
|
onAfterLeave(el) {
|
||||||
|
|
Loading…
Reference in New Issue