mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-10-13 00:03:00 +00:00
pointerdown on virtualitems
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
onTop ? 'z-[901]' : ''
|
||||
)}
|
||||
style="width: 275px; max-height: 38px; background-color: {bgColor} !important;"
|
||||
on:click={() => {
|
||||
on:pointerdown={() => {
|
||||
if (selectable) {
|
||||
if (id) {
|
||||
dispatch('select', id)
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
class="flex w-full flex-row gap-1 px-2 p-1 items-center {selected
|
||||
? 'outline outline-2 outline-gray-600 rounded-sm dark:bg-white/5 dark:outline-gray-400'
|
||||
: ''}"
|
||||
on:click={() => {
|
||||
on:pointerdown={() => {
|
||||
dispatch('select')
|
||||
}}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user