Moin
August 1, 2025, 4:23pm
1
I missed the EmojiPicker in the chat on my phone today. I am quite sure it used to be in the -menu. I found a video showing it was there 1.5 years ago (Chat emoji picker overflows on mobile ).
But now I cannot find it
The code appears unchanged to me. Or more precisely, the last change to this part was made by me and I am sure that it still worked after that
if (this.siteSettings.enable_emoji) {
api.registerChatComposerButton({
label: "chat.emoji",
id: "emoji",
class: "chat-emoji-btn",
icon: "face-smile",
position: "dropdown",
displayed: owner.lookup("service:site").mobileView,
action(context) {
const didSelectEmoji = (emoji) => {
const composer = owner.lookup(`service:chat-${context}-composer`);
composer.textarea.addText(
composer.textarea.getSelected(),
`:${emoji}:`
);
};
owner.lookup("service:menu").show(document.body, {
identifier: "emoji-picker",
groupIdentifier: "emoji-picker",
Diese Datei wurde abgeschnitten. Original zeigen
Can I have my EmojiPicker back ?
2 Likes
Jagster
(Jakke Lehtonen)
August 1, 2025, 4:25pm
2
Donāt your phone offer emojipicker?
Moin
August 1, 2025, 5:05pm
3
Does that make a difference in terms of the bug?
In fact, I prefer to see the emoji before sending it as it will look afterwards. Otherwise the meaning can easily change due to different emoji sets.
1 Like
Jagster
(Jakke Lehtonen)
August 1, 2025, 5:12pm
4
I ment I donāt even remember when Iāve seen emojipicker there last time. But sure ā there is big chance I havenāt use emojies thru that + thing, because I get those easier from virtual keyboard.
I thought it has been removed because of that option
1 Like
renato
(Renato Atilio)
August 1, 2025, 8:39pm
5
Hm, weird, itās still thereā¦
if (this.siteSettings.enable_emoji) {
api.registerChatComposerButton({
label: "chat.emoji",
id: "emoji",
class: "chat-emoji-btn",
icon: "face-smile",
position: "dropdown",
displayed: owner.lookup("service:site").mobileView,
I can still see it on communities I have Viewport based mobile mode
enabled, but not here on Meta where itās disabled.
2 Likes
david
(David Taylor)
August 1, 2025, 9:16pm
6
Interesting one! Actually reveals that thereās an issue both in ālegacyā mobileMode and also the future viewport-based-mobile-mode. This should take care of both:
main
ā mobile-mode-timing
opened 09:14PM - 01 Aug 25 UTC
Early initializers (e.g. chat-setup) were checking mobile mode before the lib wa⦠s initialized. This moves the init into the root of the module, so it's definitely ready before anything accesses it.
Also updates the chat-emoji-button `displayed` property to be a getter, so that it updates dynamically in 'viewport based mobile mode'.
2 Likes