Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(menu): improve focus loop - FRONT-4402 #3445

Merged
merged 2 commits into from
Jun 24, 2024
Merged

Conversation

emeryro
Copy link
Contributor

@emeryro emeryro commented Jun 20, 2024

  • Fix focus trap in the default menu
  • Set focus on first item when opening the menu and mega menu

Copy link

github-actions bot commented Jun 20, 2024

@github-actions github-actions bot temporarily deployed to pull request June 20, 2024 09:51 Inactive
@@ -1168,6 +1163,16 @@ export class Menu {
}
});
this.checkMegaMenu(menuItem);

// Focus first item
console.log(menuItem);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

forgotten debug here

Copy link
Contributor

@planctus planctus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems all good to me, just the console.log to be removed

@github-actions github-actions bot temporarily deployed to pull request June 24, 2024 07:06 Inactive
@emeryro emeryro merged commit d8b6786 into v4-dev Jun 24, 2024
7 checks passed
@emeryro emeryro deleted the FRONT-4402-acc-menu-loop branch June 24, 2024 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants