spectrum-web-components
spectrum-web-components copied to clipboard
[Bug]: Arrow keys don't work on Picker and Action-Menu if its opened by a mouse click.
Code of conduct
- [X] I agree to follow this project's code of conduct.
Impacted component(s)
action-menu, picker
Expected behavior
Both picker and action-menu should accept keyboard events i.e, arrow keys and allow users to navigate between the related menu-items even if its opened using a mouse click first.
Actual behavior
Up/Down arrow keys don't work and some weird behaviour can be noticed on pressing the left/right arrow keys
Screenshots
No response
What browsers are you seeing the problem in?
No response
How can we reproduce this issue?
- Firefox 125.0.3
- Go here.
- Click on
action-menu. - Use Up/Down arrow keys and try to navigate between the menu-items.
- Use Left/Right arrow keys and notice the behaviour again.
Sample code that illustrates the problem
No response
Logs taken while reproducing problem
No response