logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git
commit: 518fcf856a63c5b50745a6549e10b228d27c10d3
parent 2469415809c7bff4dac97c469fd4aa74f9191a75
Author: Henry Jameson <me@hjkos.com>
Date:   Sun,  9 Oct 2022 23:09:31 +0300

fix blinking popup

Diffstat:

Msrc/components/emoji_input/emoji_input.js4+++-
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 @@ -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)