Fix keyboard navigation of overflow menu items

This commit is contained in:
ebeuker 2021-01-04 09:11:04 +01:00
commit 8a10c3d11b

View file

@ -125,9 +125,11 @@
} }
} }
items.set([]); if (!open) {
currentId.set(undefined); items.set([]);
currentIndex.set(0); currentId.set(undefined);
currentIndex.set(0);
}
onMountAfterUpdate = false; onMountAfterUpdate = false;
}); });