Emoji Autocomplete Issue with “Emoji Autocomplete Min Chars” > 0
A bug was reported where emoji autocomplete doesn’t work when there is text in front of the line and emoji autocomplete min chars is set to a value greater than 0. Canapin demonstrated the issue with a GIF and found that it disappears when emoji autocomplete min chars is set to 0.
itsbhanusharma suspected that the issue might be related to a language-specific problem, as they couldn’t reproduce it in English language forums. However, Canapin and Benjamin_D confirmed that the issue occurs even with non-accented characters and in French language forums.
Codinghorror and JimPas couldn’t reproduce the issue, possibly because their emoji autocomplete min chars setting was set to 0.
A related issue with skin tone suggestions not working was reported by Richie.
I believe it happens since a recent upgrade (2.5 to 2.6.0.beta1).
If there is any text in front of the same line (even just a space), hen I start to write : following by letters or keywords, autocompletion won’t be displayed.
However, if I start to delete letters after :, then the autocomplete is displayed.
If I type : on a new line, it works perfectly.
Here I show the 3 cases:
writing an emoji as the first line element (shows the autocompletion)
writing an emoji after existing text (don’t show the autocompletion)
I barely recall someone complaining that accented characters and emojis don’t play nice. It may have been related to that fix but This is language specific, can’t reproduce this in forums on english language.
I didn’t encounter this issue before and it happens without typing accented characters in the keywords though. Also, enable inline emoji translation is disabled.
I upgraded another Discourse installation and the same issue happened, so I guess that’s related to both this setting and the new version.
My setting was set to 0 by default and we’ve never had a problem.
Edit: I changed my setting to 1, tried it on a reply post and it still worked fine.
Edit2: FYI, my site is in English.
I think you’re right, I can repro on my instance (2.6) which is in french, but the issue occurs even if there are no accented characters written on the line as canapin said.
And it works fine on another one, 2.5.0.beta6, also in french