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