From 8c4adbb1f4e9718ad21689f925f88bcfd3b7e117 Mon Sep 17 00:00:00 2001 From: Mark Nardi Date: Sat, 21 Sep 2024 16:44:32 +0200 Subject: [PATCH] fix: don't open multiselect dropdown on removing selected items (#1431) --- src/lib/forms/MultiSelect.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/forms/MultiSelect.svelte b/src/lib/forms/MultiSelect.svelte index efa199295..b642c4dfa 100644 --- a/src/lib/forms/MultiSelect.svelte +++ b/src/lib/forms/MultiSelect.svelte @@ -119,7 +119,7 @@ {/each} -
(show = !show)} on:focusout={() => (show = false)} on:keydown={handleKeyDown} tabindex="0" role="listbox" class={twMerge(multiSelectClass, sizes[size], $$props.class)}> +
(show = !show)} on:focusout={() => (show = false)} on:keydown={handleKeyDown} tabindex="0" role="listbox" class={twMerge(multiSelectClass, sizes[size], $$props.class)}> {#if !selectItems.length} {placeholder} {/if} @@ -139,7 +139,7 @@ {/if}
-