Files
sencho/frontend/src
Anso f91227dada fix(search): don't open the command palette via Cmd/Ctrl+K while typing (#1414)
The global command palette's Cmd/Ctrl+K shortcut fired even when a text
field or the code editor held focus, stealing focus mid-edit and, on
macOS, clobbering the native Ctrl+K delete-to-end-of-line. Guard the
handler with isInputFocused() so the shortcut opens search only when the
user is not typing in a field; the toolbar search icon still opens it
from anywhere. Add unit tests for the keyboard path.
2026-06-22 19:47:53 -04:00
..