0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-21 06:02:32 -05:00

Disable selection when entering with mouse

This commit is contained in:
Florian Schroedl 2024-05-31 16:25:30 +02:00
parent 710fa0d817
commit 86e6421b68

View file

@ -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)]