diff --git a/components/i/search/Ask.vue b/components/i/search/Ask.vue index 37746b579bcce35caf64c9551016ae9a438fcca8..abdef0f90af63e61994f2a34cd833357a275f714 100644 --- a/components/i/search/Ask.vue +++ b/components/i/search/Ask.vue @@ -64,6 +64,12 @@ defineShortcuts({ handleAsk() } }, + escape: { + usingInput: 'queryInput', + handler: () => { + handleBlur() + } + }, meta_l: { handler: () => { handleFocus() @@ -73,6 +79,9 @@ defineShortcuts({ function handleFocus () { queryInput.value.textarea.focus() } +function handleBlur () { + queryInput.value.textarea.blur() +} const continueQuestion = ref('') function handleStop () { emits('stop')