re-enable blur event

This commit is contained in:
LenAnderson
2024-04-23 14:23:44 -04:00
parent 5da8b177e6
commit 7aad49fb83

View File

@ -90,7 +90,7 @@ export class SlashCommandAutoComplete {
textarea.addEventListener('keydown', (evt)=>this.handleKeyDown(evt));
textarea.addEventListener('click', ()=>this.isActive ? this.show() : null);
textarea.addEventListener('selectionchange', ()=>this.show());
// textarea.addEventListener('blur', ()=>this.hide());
textarea.addEventListener('blur', ()=>this.hide());
if (isFloating) {
textarea.addEventListener('scroll', ()=>this.updateFloatingPositionDebounced());
}