Bug report
Current Behavior
According to the W3C documentation, when the Arrow Up key is pressed on a DropdownMenu Trigger, the content should open, and focus should be set on the last item. (Reference)
However, currently, pressing the Arrow Up key does not open the content.
Expected behavior
When the Trigger is focused and the Arrow Up key is pressed, the content should open, and focus should move to the last item.
Reproducible example
https://www.radix-ui.com/primitives/docs/components/dropdown-menu
Suggested solution
Additional context
Your environment
| Software |
Name(s) |
Version |
| Radix Package(s) |
@radix-ui/react-dropdown-menu |
v2.1.15 |
| React |
n/a |
|
| Browser |
chrome |
|
| Assistive tech |
|
|
| Node |
n/a |
|
| npm/yarn/pnpm |
pnpm |
|
| Operating System |
macos |
|