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 opened stops page keyboard shortcuts from working #4786

Open
1 task done
mizgaionutalexandru opened this issue Sep 26, 2024 · 0 comments
Open
1 task done
Labels
bug Something isn't working Component: Menu needs jira ticket triage An issue needing triage

Comments

@mizgaionutalexandru
Copy link
Contributor

mizgaionutalexandru commented Sep 26, 2024

Code of conduct

  • I agree to follow this project's code of conduct.

Impacted component(s)

Menu

Expected behavior

An opened sp-menu should allow application keyboard shortcuts.

Actual behavior

An opened sp-menu doesn't allow application keyboard shortcuts, stopping the propagation of almost all keydown events.

Screenshots

No response

What browsers are you seeing the problem in?

Safari, Chrome

How can we reproduce this issue?

  1. Go to the menu storybook
  2. Press "V" (a storybook keyboard shortcut), observe that nothing happens.
  3. Close the menu
  4. Press "V" again
  5. See that the keyboard shorcut now works.

Sample code or abstract reproduction which illustrates the problem

The problem seems to be related to the interaction between the menu and rovingTabIndex controller as per this PR: https://github.com/adobe/spectrum-web-components/pull/3780/files#r1661806320.

Severity

SEV 2

Logs taken while reproducing problem

No response

@mizgaionutalexandru mizgaionutalexandru added bug Something isn't working triage An issue needing triage needs jira ticket Component: Menu labels Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Component: Menu needs jira ticket triage An issue needing triage
Projects
None yet
Development

No branches or pull requests

1 participant