spectrum-web-components icon indicating copy to clipboard operation
spectrum-web-components copied to clipboard

[Bug]: Arrow keys don't work on Picker and Action-Menu if its opened by a mouse click.

Open TarunAdobe opened this issue 1 year ago • 0 comments

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?

  1. Firefox 125.0.3
  2. Go here.
  3. Click on action-menu.
  4. Use Up/Down arrow keys and try to navigate between the menu-items.
  5. 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

TarunAdobe avatar Jun 04 '24 12:06 TarunAdobe