Fixed #1697 - Flicker on non-modal Dialogs
parent
380cc59ccf
commit
78a91c718a
|
@ -156,7 +156,9 @@ export default {
|
||||||
this.bindGlobalListeners();
|
this.bindGlobalListeners();
|
||||||
},
|
},
|
||||||
onBeforeLeave() {
|
onBeforeLeave() {
|
||||||
|
if (this.modal) {
|
||||||
DomHandler.addClass(this.mask, 'p-component-overlay-leave');
|
DomHandler.addClass(this.mask, 'p-component-overlay-leave');
|
||||||
|
}
|
||||||
},
|
},
|
||||||
onLeave() {
|
onLeave() {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue