mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 03:26:36 +00:00
Fix keyboard navigation of overflow menu items
This commit is contained in:
parent
668a5d1625
commit
8a10c3d11b
1 changed files with 5 additions and 3 deletions
|
@ -125,9 +125,11 @@
|
|||
}
|
||||
}
|
||||
|
||||
items.set([]);
|
||||
currentId.set(undefined);
|
||||
currentIndex.set(0);
|
||||
if (!open) {
|
||||
items.set([]);
|
||||
currentId.set(undefined);
|
||||
currentIndex.set(0);
|
||||
}
|
||||
|
||||
onMountAfterUpdate = false;
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue