feat(combo-box): focus input on selection clear

This commit is contained in:
Eric Liu 2020-07-20 20:45:58 -07:00
commit d95b352ed0

View file

@ -160,6 +160,7 @@
on:clear={() => { on:clear={() => {
selectedIndex = -1; selectedIndex = -1;
open = false; open = false;
ref.focus();
}} }}
{translateWithId} {translateWithId}
{disabled} {disabled}