From ec8f1eaafa69c94fb131b44c0ad9729025a72afe Mon Sep 17 00:00:00 2001 From: LenAnderson Date: Fri, 19 Apr 2024 09:07:16 -0400 Subject: [PATCH] reduce autocomplete render debounce --- public/scripts/slash-commands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/scripts/slash-commands.js b/public/scripts/slash-commands.js index 5f78d24ff..e99334207 100644 --- a/public/scripts/slash-commands.js +++ b/public/scripts/slash-commands.js @@ -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();