ignore modifier keys

This commit is contained in:
LenAnderson 2024-03-25 10:47:12 -04:00
parent da6372cf86
commit 083dd8ba88
1 changed files with 3 additions and 0 deletions

View File

@ -2219,6 +2219,9 @@ export function setNewSlashCommandAutoComplete(textarea, isFloating = false) {
}
}
}
if (['Control', 'Shift', 'Alt'].includes(evt.key)) {
return;
}
showAutoCompleteDebounced();
});
textarea.addEventListener('blur', ()=>hide());