Moin
Août 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 « J'aime »
Jagster
(Jakke Lehtonen)
Août 1, 2025, 4:25
2
Don’t your phone offer emojipicker?
1 « J'aime »
Moin
Août 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 « J'aime »
Jagster
(Jakke Lehtonen)
Août 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 « J'aime »
renato
(Renato Atilio)
Août 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 « J'aime »
david
(David Taylor)
Août 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 « J'aime »
david
(David Taylor)
A fermé ce sujet ()
Août 11, 2025, 7:00
7
This topic was automatically closed after 9 days. New replies are no longer allowed.