From 7aad49fb83c5cea57fa5b5359d8707e90a1144f1 Mon Sep 17 00:00:00 2001 From: LenAnderson Date: Tue, 23 Apr 2024 14:23:44 -0400 Subject: [PATCH] re-enable blur event --- public/scripts/slash-commands/SlashCommandAutoComplete.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/scripts/slash-commands/SlashCommandAutoComplete.js b/public/scripts/slash-commands/SlashCommandAutoComplete.js index 796994242..a835a0399 100644 --- a/public/scripts/slash-commands/SlashCommandAutoComplete.js +++ b/public/scripts/slash-commands/SlashCommandAutoComplete.js @@ -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()); }