Skip to content

Commit a7bcb3b

Browse files
committed
feat: added more components
1 parent 223b1af commit a7bcb3b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

web/src/lib/components/ui/combobox/combobox.svelte

+3
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
: options.find(f => f.value === value)?.label ?? placeholder
2727
2828
function closeAndFocusTrigger() {
29+
if (!open) return
30+
if (multi) return
31+
2932
open = false
3033
tick().then(() => {
3134
triggerButton.focus()

0 commit comments

Comments
 (0)