mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
ignore modifier keys
This commit is contained in:
@ -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());
|
||||||
|
Reference in New Issue
Block a user