Merge pull request #9 from navedqb/4401--fix-scrollbar-break-in-image-preview
fix: Fixes scrollbar break while closing image previewpull/4402/head
commit
879a9be0c5
|
@ -163,6 +163,7 @@ export default {
|
|||
!this.isUnstyled && DomHandler.addClass(this.mask, 'p-component-overlay-leave');
|
||||
},
|
||||
onLeave() {
|
||||
DomHandler.removeClass(document.body, 'p-overflow-hidden');
|
||||
this.$emit('hide');
|
||||
},
|
||||
onAfterLeave(el) {
|
||||
|
|
Loading…
Reference in New Issue