From 518fcf856a63c5b50745a6549e10b228d27c10d3 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Sun, 9 Oct 2022 23:09:31 +0300 Subject: [PATCH] fix blinking popup --- src/components/emoji_input/emoji_input.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/emoji_input/emoji_input.js b/src/components/emoji_input/emoji_input.js index 46f04c60fe..5131e699bb 100644 --- a/src/components/emoji_input/emoji_input.js +++ b/src/components/emoji_input/emoji_input.js @@ -258,7 +258,9 @@ const EmojiInput = { textAtCaret: async function (newWord) { const firstchar = newWord.charAt(0) if (newWord === firstchar) { - this.suggestions = [] + if (firstchar === ' ') { + this.suggestions = [] + } return } const matchedSuggestions = await this.suggest(newWord, this.maybeLocalizedEmojiNamesAndKeywords)