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 item focus state in overlay when using keyboard in Safari has visual issues #4520

Open
1 task done
rickharris opened this issue May 30, 2024 · 0 comments
Open
1 task done
Labels
bug Something isn't working triage An issue needing triage

Comments

@rickharris
Copy link
Contributor

Code of conduct

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

Impacted component(s)

sp-menu-item, sp-picker, sp-action-menu

Expected behavior

When navigating menu items inside of an overlay with the keyboard, focus state should appear correctly as menu items are focused and unfocused.

Expected behavior shown in Chrome:

Screen.Recording.2024-05-30.at.10.13.09.AM.mov

Actual behavior

When navigating menu items inside of an overlay with the keyboard, menu items appear to be getting partially stuck in the focused state

Actual behavior in Safari:

Screen.Recording.2024-05-30.at.10.11.36.AM.mov

Screenshots

No response

What browsers are you seeing the problem in?

Safari

How can we reproduce this issue?

  1. Go to https://stackblitz.com/edit/vitejs-vite-fs3h7n?file=src%2Findex.css,src%2Fmy-element.ts&terminal=dev in Safari
  2. Click overlay trigger button. Open one of the menus inside of the dialog and use up and down arrows to navigate the menu.

Sample code that illustrates the problem

No response

Logs taken while reproducing problem

No response

@rickharris rickharris added bug Something isn't working triage An issue needing triage labels May 30, 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 triage An issue needing triage
Projects
None yet
Development

No branches or pull requests

1 participant