fix blinking popup
This commit is contained in:
parent
2469415809
commit
518fcf856a
|
@ -258,7 +258,9 @@ const EmojiInput = {
|
||||||
textAtCaret: async function (newWord) {
|
textAtCaret: async function (newWord) {
|
||||||
const firstchar = newWord.charAt(0)
|
const firstchar = newWord.charAt(0)
|
||||||
if (newWord === firstchar) {
|
if (newWord === firstchar) {
|
||||||
|
if (firstchar === ' ') {
|
||||||
this.suggestions = []
|
this.suggestions = []
|
||||||
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
const matchedSuggestions = await this.suggest(newWord, this.maybeLocalizedEmojiNamesAndKeywords)
|
const matchedSuggestions = await this.suggest(newWord, this.maybeLocalizedEmojiNamesAndKeywords)
|
||||||
|
|
Loading…
Reference in New Issue