mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
feat(combo-box): focus input on selection clear
This commit is contained in:
parent
7be03658b8
commit
d95b352ed0
1 changed files with 1 additions and 0 deletions
|
@ -160,6 +160,7 @@
|
||||||
on:clear={() => {
|
on:clear={() => {
|
||||||
selectedIndex = -1;
|
selectedIndex = -1;
|
||||||
open = false;
|
open = false;
|
||||||
|
ref.focus();
|
||||||
}}
|
}}
|
||||||
{translateWithId}
|
{translateWithId}
|
||||||
{disabled}
|
{disabled}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue