diff --git a/src/lib/holocene/combobox/combobox.svelte b/src/lib/holocene/combobox/combobox.svelte index 45fb42f02..8f96ce25e 100644 --- a/src/lib/holocene/combobox/combobox.svelte +++ b/src/lib/holocene/combobox/combobox.svelte @@ -113,12 +113,13 @@ closeList(); } else { openList(); - inputElement.focus(); } }; const openList = () => { $open = true; + inputElement.focus(); + inputElement.select(); }; const closeList = () => { @@ -288,7 +289,7 @@ on:click={toggleList} > - +