mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 18:31:06 +00:00
parent
be7bbeda03
commit
93da919951
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,6 @@
|
|||
}
|
||||
|
||||
if (didOpen && !open) {
|
||||
buttonRef.focus();
|
||||
items.set([]);
|
||||
currentId.set(undefined);
|
||||
currentIndex.set(0);
|
||||
|
@ -186,6 +185,7 @@
|
|||
} else if (e.key === 'Escape') {
|
||||
e.stopPropagation();
|
||||
open = false;
|
||||
buttonRef.focus();
|
||||
}
|
||||
}
|
||||
}}">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue