re-enable blur listener

This commit is contained in:
LenAnderson
2024-04-17 09:02:21 -04:00
parent 04fca9f370
commit ed01e94c9f

View File

@ -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));
} }