From 86e6421b68e9d70de6cbf6972943b11052e8a4bd Mon Sep 17 00:00:00 2001 From: Florian Schroedl Date: Fri, 31 May 2024 16:25:30 +0200 Subject: [PATCH] Disable selection when entering with mouse --- frontend/src/app/main/ui/workspace/tokens/editable_select.cljs | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/app/main/ui/workspace/tokens/editable_select.cljs b/frontend/src/app/main/ui/workspace/tokens/editable_select.cljs index 133b58cb2..cd62dbea6 100644 --- a/frontend/src/app/main/ui/workspace/tokens/editable_select.cljs +++ b/frontend/src/app/main/ui/workspace/tokens/editable_select.cljs @@ -85,6 +85,7 @@ [:> :div {:class (stl/css-case :custom-select-dropdown true :custom-select-dropdown-right (= position :right) :custom-select-dropdown-left (= position :left)) + :on-mouse-enter #(reset! highlighted* nil) :ref element-ref} [:ul {:class (stl/css :custom-select-dropdown-list)} (for [[index item] (d/enumerate options)]