diff --git a/src/components/modal/modal.vue b/src/components/modal/modal.vue index 1103ff86..3ee52544 100644 --- a/src/components/modal/modal.vue +++ b/src/components/modal/modal.vue @@ -85,14 +85,6 @@ export default { BaseButton, }, - mounted() { - document.addEventListener('keydown', (e) => { - // Close the model when escape is pressed - if (e.keyCode === 27) { - this.$emit('close') - } - }) - }, props: { enabled: { type: Boolean,