From 8870304c15346257a90193807b9ae07c1393e3e2 Mon Sep 17 00:00:00 2001 From: Fabio Di Stasio Date: Sun, 29 May 2022 16:42:41 +0200 Subject: [PATCH] fix(UI): select closes clicking on scrollbar --- src/renderer/components/BaseSelect.vue | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/src/renderer/components/BaseSelect.vue b/src/renderer/components/BaseSelect.vue index 9b17e211..4262f19e 100644 --- a/src/renderer/components/BaseSelect.vue +++ b/src/renderer/components/BaseSelect.vue @@ -37,6 +37,8 @@ v-if="isOpen" ref="optionList" :class="`select__list-wrapper ${dropdownClass ? dropdownClass : '' }`" + @mousedown="isMouseDown = true" + @mouseup="handleMouseUpEvent()" >