mirror of
https://github.com/penpot/penpot.git
synced 2025-01-21 22:22:43 -05:00
Disable selection when entering with mouse
This commit is contained in:
parent
710fa0d817
commit
86e6421b68
1 changed files with 1 additions and 0 deletions
|
@ -85,6 +85,7 @@
|
||||||
[:> :div {:class (stl/css-case :custom-select-dropdown true
|
[:> :div {:class (stl/css-case :custom-select-dropdown true
|
||||||
:custom-select-dropdown-right (= position :right)
|
:custom-select-dropdown-right (= position :right)
|
||||||
:custom-select-dropdown-left (= position :left))
|
:custom-select-dropdown-left (= position :left))
|
||||||
|
:on-mouse-enter #(reset! highlighted* nil)
|
||||||
:ref element-ref}
|
:ref element-ref}
|
||||||
[:ul {:class (stl/css :custom-select-dropdown-list)}
|
[:ul {:class (stl/css :custom-select-dropdown-list)}
|
||||||
(for [[index item] (d/enumerate options)]
|
(for [[index item] (d/enumerate options)]
|
||||||
|
|
Loading…
Add table
Reference in a new issue