fix(nc-gui): prevent alt+B from typing in search

This commit is contained in:
navi
2025-05-22 07:31:11 +00:00
parent 6b280160fc
commit 9acffd6027
2 changed files with 8 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ const placeholder = computed(() => {
const onKeydown = (e: KeyboardEvent) => {
if (e.altKey && e.code === 'KeyB') {
inputRef.value.input?.blur()
e.preventDefault()
} else {
e.stopPropagation()
}