mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
reduce autocomplete render debounce
This commit is contained in:
@ -2176,7 +2176,7 @@ export async function setSlashCommandAutoComplete(textarea, isFloating = false)
|
||||
document.body.append(dom);
|
||||
// prevType = parserResult.type;
|
||||
};
|
||||
const renderDebounced = debounce(render, 100);
|
||||
const renderDebounced = debounce(render, 10);
|
||||
const updatePosition = () => {
|
||||
if (isFloating) {
|
||||
updateFloatingPosition();
|
||||
|
Reference in New Issue
Block a user