3 of 25
Keep keyboard input responsive
When a shortcut opens a command palette, move focus into the field and accept the next keystroke while the panel settles.
DoFocus on open. First keystrokes land. 0ms to focus · 180ms entrance — “op” appears in the field
Don’tFocus after entrance. First keystrokes are lost. 180ms to focus · 180ms entrance — the first keystrokes are lost
Or press K while the demo has focus
Reduced motion: end states only, as your setting asks.
Before you ship
- Does the first character appear in the query?
- Where does focus return after Escape during entry?
- Can the user see the currently focused control throughout?