Skip to content

Commit

Permalink
Refactor #3020 - submenu selection should focus root
Browse files Browse the repository at this point in the history
  • Loading branch information
tugcekucukoglu committed Oct 11, 2022
1 parent 33e5c1b commit 9a63701
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/menubar/MenubarSub.vue
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,11 @@ export default {
case 'Enter': {
this.onItemClick(event, item, navigate);
if (!this.root) {
this.setFocusToMenuitem(listItem, listItem.parentElement.parentElement);
}
event.preventDefault();
break;
}
Expand Down

0 comments on commit 9a63701

Please sign in to comment.