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

[Bug]: Menu detaches from trigger on keyboard navigation #9804

Closed
2 tasks done
tay1orjones opened this issue Oct 5, 2021 · 0 comments · Fixed by #10041
Closed
2 tasks done

[Bug]: Menu detaches from trigger on keyboard navigation #9804

tay1orjones opened this issue Oct 5, 2021 · 0 comments · Fixed by #10041
Assignees

Comments

@tay1orjones
Copy link
Member

Package

carbon-components-react

Browser

Chrome

Package version

10.45.0

Description

For OverflowMenu implementation using unstable_Menu, navigating to a menu item via keyboard causes the container to scroll and the menu to detach from the trigger. I'm not sure if this behavior is intended, I think it's a bug.

CodeSandbox example

n/a - present in storybook

Steps to reproduce

  1. Check out the storybook story
  2. Click/enter to open the menu
  3. Press the down arrow key to move down in the menu items
  4. The bug - the container will scroll and the menu will "detach" from the trigger.
  5. Go back up via keyboard arrow and the container will scroll back and "reattach" the menu to the trigger
scrolls.on.keyboard.up.down.mov

Code of Conduct

@joshblack joshblack moved this to Backlog in Design System Oct 28, 2021
@joshblack joshblack moved this from ⏱ Backlog to 🏗 In Progress in Design System Nov 5, 2021
@kodiakhq kodiakhq bot closed this as completed in #10041 Nov 14, 2021
Repository owner moved this from 🏗 In Progress to ✅ Done in Design System Nov 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants