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