From 805f352b04b3630db83377d71c1ef8937f8bd1fb Mon Sep 17 00:00:00 2001 From: mertsincan Date: Thu, 30 Jan 2020 10:57:29 +0300 Subject: [PATCH] Fixed #166 - Dialog animation leave does not work --- src/components/dialog/Dialog.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/dialog/Dialog.vue b/src/components/dialog/Dialog.vue index 0fedb1adc..ac7c141f9 100644 --- a/src/components/dialog/Dialog.vue +++ b/src/components/dialog/Dialog.vue @@ -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;