mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
re-enable blur listener
This commit is contained in:
@ -2381,7 +2381,7 @@ export async function setSlashCommandAutoComplete(textarea, isFloating = false)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
// textarea.addEventListener('blur', ()=>hide());
|
textarea.addEventListener('blur', ()=>hide());
|
||||||
if (isFloating) {
|
if (isFloating) {
|
||||||
textarea.addEventListener('scroll', debounce(updateFloatingPosition, 100));
|
textarea.addEventListener('scroll', debounce(updateFloatingPosition, 100));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user