Skip to content

Commit 800dd13

Browse files
committed
tweak menu
1 parent 9cdb549 commit 800dd13

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/aria/menu/menu.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,6 @@ export class MenuTrigger<V> {
8484
effect(() => this.menu()?.parent.set(this));
8585
}
8686

87-
/** Marks the menu trigger as having been focused. */
88-
onFocusIn() {
89-
this.hasBeenFocused.set(true);
90-
}
91-
9287
/** Opens the menu focusing on the first menu item. */
9388
open() {
9489
this._pattern.open({first: true});
@@ -402,11 +397,6 @@ export class MenuItem<V> {
402397
effect(() => this.submenu()?.parent.set(this));
403398
}
404399

405-
/** Marks the menu item as having been focused. */
406-
onFocusIn() {
407-
this.hasBeenFocused.set(true);
408-
}
409-
410400
/** Opens the submenu focusing on the first menu item. */
411401
open() {
412402
this._pattern.open({first: true});

0 commit comments

Comments
 (0)