impr: switch menus to attachment based vs cursed div wrapper

This commit is contained in:
James Xylight committed 2025-08-28 21:18:43 -07:00
1 parent 078fdc2c71
commit 2891c68494
20 files changed
+93 -93

No files matched your search

+2 -1
View File
@@ -24,7 +24,7 @@
},
]
>
target?: Snippet
target?: Snippet<[Attachment]>
oncontextmenu?: HTMLSelectAttributes['oncontextmenu']
onchange?: HTMLSelectAttributes['onchange']
placement?: Placement
@@ -54,6 +54,7 @@
import Label from '../Label.svelte'
import { generateID } from '../helper.js'
import type { Placement } from 'svelte-floating-ui/core'
import type { Attachment } from 'svelte/attachments'
let open = $state(false)
let element: HTMLSelectElement | undefined = $state()