Skip to content

[Bug]: sp-menu highlights the first element when openning with click/keyboard #5351

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

Open
1 task done
SavkaTaras opened this issue Apr 7, 2025 · 4 comments
Open
1 task done
Labels
bug Something isn't working Component: Menu jira ticket created triage An issue needing triage

Comments

@SavkaTaras
Copy link

SavkaTaras commented Apr 7, 2025

Code of conduct

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

Impacted component(s)

sp-submenu

Expected behavior

once open sp-menu with click - the first element should not be highlighted

Actual behavior

on click opens menu and highlights (selects) the first element

Screenshots

No response

What browsers are you seeing the problem in?

No response

How can we reproduce this issue?

  1. Go to https://opensource.adobe.com/spectrum-web-components/storybook/index.html?path=/story/menu-submenu--submenu
  2. Click on hamburger
  3. Observe

Sample code or abstract reproduction which illustrates the problem

No response

Severity

SEV 1

Logs taken while reproducing problem

No response

@SavkaTaras SavkaTaras added bug Something isn't working needs jira ticket triage An issue needing triage labels Apr 7, 2025
@Rajdeepc
Copy link
Contributor

Rajdeepc commented Apr 8, 2025

SWC-787

@nikkimk
Copy link
Contributor

nikkimk commented Apr 9, 2025

@SavkaTaras WIP demo PR for the fix is here: #5358

@tsavka-adobe
Copy link

tsavka-adobe commented Apr 10, 2025

@SavkaTaras WIP demo PR for the fix is here: #5358

@nikkimk

Thank you, it looks like the first level is not getting highlighted, but the nested levels are getting highlighted. I will check back in few days. Thank you.

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 jira ticket created triage An issue needing triage
Projects
None yet
Development

No branches or pull requests

8 participants
@nikkimk @Rajdeepc @SavkaTaras @najikahalsema @tsavka-adobe and others