re-enable blur listener
This commit is contained in:
parent
04fca9f370
commit
ed01e94c9f
|
@ -2381,7 +2381,7 @@ export async function setSlashCommandAutoComplete(textarea, isFloating = false)
|
|||
}
|
||||
}
|
||||
});
|
||||
// textarea.addEventListener('blur', ()=>hide());
|
||||
textarea.addEventListener('blur', ()=>hide());
|
||||
if (isFloating) {
|
||||
textarea.addEventListener('scroll', debounce(updateFloatingPosition, 100));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue