ignore modifier keys

This commit is contained in:
LenAnderson
2024-03-25 10:47:12 -04:00
parent da6372cf86
commit 083dd8ba88

View File

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