mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 08:52:34 +00:00
Merge pull request #4402 from qburst/4401--fix-scrollbar-break-in-image-preview
fix: Fixes scrollbar break while closing image preview
This commit is contained in:
commit
dec50b0f49
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue