From 23bbbe3d69aecc388263b6fc64a97908c2bf25a0 Mon Sep 17 00:00:00 2001 From: Mike Byrne Date: Mon, 6 Jan 2025 17:07:33 +0000 Subject: [PATCH] stop trying to close a closed dropdown which stops the side effect of immediately closing a dropdown that you are trying to open --- frontend/js/components/Dropdown.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/js/components/Dropdown.vue b/frontend/js/components/Dropdown.vue index 1af639054..91f740aa7 100755 --- a/frontend/js/components/Dropdown.vue +++ b/frontend/js/components/Dropdown.vue @@ -161,6 +161,8 @@ } }, closeFromDoc: function (event) { + if (!this.active) return + const target = event.target if (event.type === 'scroll') {