Fixed #166 - Dialog animation leave does not work

pull/201/head
mertsincan 2020-01-30 10:57:29 +03:00
parent e3ea89a475
commit 805f352b04
1 changed files with 2 additions and 3 deletions

View File

@ -98,10 +98,8 @@ export default {
this.focus();
this.enableModality();
},
onLeave(el, done) {
onLeave() {
this.$emit('hide');
done();
},
onAfterLeave() {
this.maskVisible = false;
@ -218,6 +216,7 @@ export default {
max-height: 90%;
margin: 5% auto;
overflow-y: auto;
transform: scale(1);
}
.p-dialog .p-dialog-titlebar {
padding: .5em .75em;