From 331380117499c565b5087cf84629d3d3005fbe9c Mon Sep 17 00:00:00 2001 From: konrad Date: Sun, 17 Jan 2021 10:36:57 +0000 Subject: [PATCH] Fix closing popups when clicking outside of them (#378) Co-authored-by: kolaente Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/378 Co-authored-by: konrad Co-committed-by: konrad --- src/components/list/partials/filter-popup.vue | 65 +++++++++++++++++++ src/components/tasks/gantt-component.vue | 18 +++-- .../tasks/partials/singleTaskInList.vue | 18 ++++- src/helpers/closeWhenClickedOutside.js | 2 +- src/views/list/views/Kanban.vue | 18 +++-- src/views/list/views/List.vue | 18 +++-- src/views/list/views/Table.vue | 18 ++--- 7 files changed, 114 insertions(+), 43 deletions(-) create mode 100644 src/components/list/partials/filter-popup.vue diff --git a/src/components/list/partials/filter-popup.vue b/src/components/list/partials/filter-popup.vue new file mode 100644 index 00000000..952f75c1 --- /dev/null +++ b/src/components/list/partials/filter-popup.vue @@ -0,0 +1,65 @@ + + + diff --git a/src/components/tasks/gantt-component.vue b/src/components/tasks/gantt-component.vue index 22077cdd..11c8f812 100644 --- a/src/components/tasks/gantt-component.vue +++ b/src/components/tasks/gantt-component.vue @@ -2,20 +2,18 @@
-
- - - +