From d9eb230bac7444fb24395eac66016e1ed0b9227c Mon Sep 17 00:00:00 2001 From: cagataycivici Date: Fri, 1 Nov 2019 11:32:32 +0300 Subject: [PATCH] Fixed #80 - Modal dialog is not destroyed properly --- src/components/dialog/Dialog.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/dialog/Dialog.vue b/src/components/dialog/Dialog.vue index 9b90816b4..999d3607e 100644 --- a/src/components/dialog/Dialog.vue +++ b/src/components/dialog/Dialog.vue @@ -52,7 +52,9 @@ export default { mask: null, documentKeydownListener: null, destroyed() { - //this.unbindDocumentKeydownListener(); + if (this.modal) { + this.disableModality(); + } }, methods: { close() {