Menu
A trigger and the MenuList of commands it opens. It isn't modal: no focus trap, no scroll lock, nothing laid over the page, so the pointer passes over it and the page stays usable around it.
Keyboard
| Where | Key | Does |
|---|---|---|
| The trigger | Enter / Space | Opens the menu (a click), focusing the checked row or the first enabled one |
| The trigger | ArrowDown / ArrowUp | Opens the menu, focusing the checked row or the first enabled one |
| The list | Escape | Closes the menu and gives focus back to the trigger |
| The list | Enter / Space | Chooses the focused row, closes the menu and gives focus back to the trigger |
| The list | Left / Right | onStep(-1) / onStep(1), when set |
| The list | Tab | Focus leaves - the menu closes and focus stays where it went |
The arrow keys, Home, End and type-ahead inside the list are MenuList's.