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

OverflowMenu focus does not automatically move into the menu on open #6977

Closed
1 of 2 tasks
emyarod opened this issue Oct 6, 2020 · 0 comments · Fixed by #6978
Closed
1 of 2 tasks

OverflowMenu focus does not automatically move into the menu on open #6977

emyarod opened this issue Oct 6, 2020 · 0 comments · Fixed by #6978

Comments

@emyarod
Copy link
Member

emyarod commented Oct 6, 2020

What package(s) are you using?

  • carbon-components
  • carbon-components-react

Detailed description

Describe in detail the issue you're having.

When opening an OverflowMenu, focus is no longer placed within the menu itself

Is this issue related to a specific component?

OverflowMenu

What did you expect to happen? What happened instead? What would you like to
see changed?

Focus should be moved inside of the menu (selectorPrimaryFocus or the first focusable menu item) after the menu is opened

Steps to reproduce the issue

  1. View an OverflowMenu example (http://carbon-components-react.netlify.com/?path=/story/overflowmenu--basic)
  2. Open the menu
  3. Observe that browser focus remains on the trigger button

Additional information

Related #6722

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant