Confirmed JoyPixels emojis briefly render as native emojis when opening the emoji picker for the first time

Silmarillion

Active member
Licensed customer
Affected version
2.3.13
After upgrading to XenForo 2.3, I noticed a rendering issue with the emoji picker in the editor.


When the smilie/emoji menu is opened for the first time after loading or refreshing a page, the emojis are briefly displayed in their native/system appearance (similar to keyboard emojis). A moment later they are replaced by the configured JoyPixels images.


Once the menu has been opened, closing and reopening it on the same page does not show the issue again. After refreshing the page, the effect can be reproduced again on the first opening.


I have done several tests to rule out a style or server-related issue:


  • The issue also occurs with an unmodified XenForo default style.
  • With JoyPixels selected as the Emoji style, the issue is reproducible.
  • Switching the Emoji style to Native emoji makes the effect disappear completely.
  • Switching back to JoyPixels makes it return.
  • The editor/smilies-emoji request itself is fast (around 100–170 ms in my tests).
  • The effect can also occur when there are no new network requests for the emoji images at the moment the picker is opened, so this does not appear to be simply a slow CDN connection.

Inspecting one of the emojis in the picker shows markup similar to:

HTML:
<img class="smilie smilie--emoji"
     src="https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f642.png"
     loading="lazy"
     width="64"
     height="64"
     alt="🙂"
     title="Smile :)">

This makes me wonder whether the native Unicode character from the alt attribute is temporarily being rendered while the lazy-loaded JoyPixels image is being initialized/decoded on the first opening of the menu.


Steps to reproduce:


  1. Configure XenForo to use JoyPixels as the Emoji style.
  2. Load or refresh a page containing the XenForo editor.
  3. Open the smilie/emoji picker for the first time.
  4. Watch the emojis immediately after the menu opens.
  5. Native/system-style emojis are briefly visible before being replaced by the JoyPixels versions.
  6. Close and reopen the picker. The effect normally no longer occurs.
  7. Refresh the page and open the picker again. The effect returns.

Using Native emoji avoids the rendering transition, but this is not an ideal workaround because some emojis are not available/rendered on all operating systems and devices.

Is this first-open native-to-JoyPixels transition expected behavior in XenForo 2.3, or could the JoyPixels images be initialized/decoded in a way that prevents the native fallback from briefly becoming visible?

The issue is mainly visual, but it is quite noticeable when opening the emoji picker for the first time.

I should note that we performed an update from version 2.2.3, switched hosting providers, and moved to a new server.

Best regards,
Chris
 
Hello. Sorry you feel that way. Bug reports are taken seriously. This has been triaged internally and potentially targeted for a fix in a future release. Most bug reports currently don't receive a response generally until they are worked on. A lack of response after ~2 weeks is not unusual but it is not a sign that the issue isn't taken seriously.

Independently of this, I have been working recently on systems to make it easier for us to manage bug reports more generally. Under that system, this would have at least been marked as "Confirmed" automatically based on our bug triage system.

If you need an urgent response to something from a staff member, usually submitting a ticket from your customer area is the recommended path.
 
Back
Top Bottom