From f9844384bea707724df408d00666e00c420d21ef Mon Sep 17 00:00:00 2001 From: kolaente Date: Thu, 15 Apr 2021 17:03:26 +0200 Subject: [PATCH] Hide the bucket limit input when clicked away --- src/components/misc/dropdown.vue | 1 + src/views/list/views/Kanban.vue | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/components/misc/dropdown.vue b/src/components/misc/dropdown.vue index 9c51d06a..c56f14fd 100644 --- a/src/components/misc/dropdown.vue +++ b/src/components/misc/dropdown.vue @@ -42,6 +42,7 @@ export default { if (this.open) { closeWhenClickedOutside(e, this.$refs.dropdown, () => { this.open = false + this.$emit('close', e) }) } }, diff --git a/src/views/list/views/Kanban.vue b/src/views/list/views/Kanban.vue index 9910f00c..056f961c 100644 --- a/src/views/list/views/Kanban.vue +++ b/src/views/list/views/Kanban.vue @@ -43,6 +43,7 @@ class="is-right options" v-if="canWrite" trigger-icon="ellipsis-v" + @close="() => showSetLimitInput = false" >