From d95b352ed0f38da4a84164cca97df910b27b3014 Mon Sep 17 00:00:00 2001 From: Eric Liu Date: Mon, 20 Jul 2020 20:45:58 -0700 Subject: [PATCH] feat(combo-box): focus input on selection clear --- src/ComboBox/ComboBox.svelte | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ComboBox/ComboBox.svelte b/src/ComboBox/ComboBox.svelte index 1bf2d029..18364891 100644 --- a/src/ComboBox/ComboBox.svelte +++ b/src/ComboBox/ComboBox.svelte @@ -160,6 +160,7 @@ on:clear={() => { selectedIndex = -1; open = false; + ref.focus(); }} {translateWithId} {disabled}