diff --git a/src/renderer/src/components/header/header.tsx b/src/renderer/src/components/header/header.tsx index 0dce9e8b..edb0b422 100644 --- a/src/renderer/src/components/header/header.tsx +++ b/src/renderer/src/components/header/header.tsx @@ -71,6 +71,11 @@ export function Header({ onSearch, onClear, search }: HeaderProps) { if (!isFocused && ctrlKey && key === "k") { focusInput(); } + + if (isFocused && key === "Escape" && inputRef.current) { + inputRef.current.blur(); + handleBlur(); + } }; return () => {