adobe / adobe/spectrum-web-components
[Bug]: Focus is not removed after hovering away from menu item in action menu
- Dominant language
- TypeScript
- Stars
- 1.5k
- Forks
- 262
- Avg merge
- 3d 10h
- Merged PRs (30d)
- 68
Description
### Code of conduct
- [x] I agree to follow this project's code of conduct.
### Impacted component(s)
sp-action-menu, sp-menu-item, sp-overlay
### Library version
1.7.0
### Expected behavior
When we hover over a menu item in a menu and then hover away, it should not remain highlighted.
### Actual behavior
When we hover over a menu item in a menu and hover away, it remains highlighted.
### Screenshots
### 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/components/action-menu/#sizes
2. Open the action menu
3. Hover over a menu item and hover away
### Sample code or abstract reproduction which illustrates the problem
_No response_
### Severity
SEV 4
### Logs taken while reproducing problem
_No response_
### Would you like to track this issue in Jira?
- [x] Yes, please tell me the ticket number!
Contributor guide
Research direction
Reproduce the issue at the action-menu sizes demo, then inspect the sp-action-menu, sp-menu-item, and sp-overlay components involved in the interaction. Done means a menu item no longer remains highlighted after the pointer moves away, while normal action-menu hover behavior still works.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100