diff --git a/components/MaintainerList.vue b/components/MaintainerList.vue index 0d82545..72433b4 100644 --- a/components/MaintainerList.vue +++ b/components/MaintainerList.vue @@ -68,6 +68,16 @@ onMounted(() => { e.preventDefault(); searchInputRef.value?.focus(); } + if ( + e.key === "/" && + !( + e.target instanceof HTMLInputElement || + e.target instanceof HTMLTextAreaElement + ) + ) { + e.preventDefault(); + searchInputRef.value?.focus(); + } }); });