diff --git a/src/components/emoji_input/emoji_input.js b/src/components/emoji_input/emoji_input.js index 46f04c60..5131e699 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)