Moin
1 أغسطس 2025، 4:23م
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)
Jagster
(Jakke Lehtonen)
1 أغسطس 2025، 4:25م
2
Don’t your phone offer emojipicker?
إعجاب واحد (1)
Moin
1 أغسطس 2025، 5:05م
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)
Jagster
(Jakke Lehtonen)
1 أغسطس 2025، 5:12م
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)
renato
(Renato Atilio)
1 أغسطس 2025، 8:39م
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)
david
(David Taylor)
1 أغسطس 2025، 9:16م
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'.
3 إعجابات
david
(David Taylor)
تم إغلاقه في
11 أغسطس 2025، 7:00ص
7
This topic was automatically closed after 9 days. New replies are no longer allowed.