diff options
| author | Henry Jameson <me@hjkos.com> | 2022-10-09 23:09:31 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2022-10-09 23:09:31 +0300 |
| commit | 518fcf856a63c5b50745a6549e10b228d27c10d3 (patch) | |
| tree | c5ed3b015da0b720a05d678e1e4a607d3cded587 /src | |
| parent | 2469415809c7bff4dac97c469fd4aa74f9191a75 (diff) | |
fix blinking popup
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/emoji_input/emoji_input.js | 4 |
1 files changed, 3 insertions, 1 deletions
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) |
