Skip to content

Commit c56034a

Browse files
committed
fixup! feat(aria/ui-patterns): add initial menu pattern
1 parent cc443be commit c56034a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/aria/ui-patterns/menu/menu.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,7 @@ export class MenuBarPattern<V> {
414414

415415
if (!this.inputs.element()?.contains(relatedTarget)) {
416416
this.isFocused.set(false);
417+
this.close();
417418
}
418419
}
419420

0 commit comments

Comments
 (0)