Custom emojis don't work when you select from the emoji menu then backspace

(#386) Bug Fixed emoji

Summary

Specifically when using the emoji picker menu, if you select a custom emoji then backspace to remove the space after it, it does not render as an emoji. This specifically affects only custom emojis selected from the emoji picker menu, and not emojis that are just typed out or autocompleted from the regular message bar, and also does not affect default emojis. An example output: image When surrounding the resulting text with backticks, I get the following:
<:blobmindblown:1475038591031042135>
<:blobmindblown:1475038591031042135>
<:blobmindblown:1475038591031042135>
:blobmindblown:
In order, these were produced by:
  1. Typing out the emoji in the message bar
  2. Typing out the emoji in the message bar, then removing the space that follows the emoji
  3. Selecting the emoji from the graphical emoji menu
  4. Selecting the emoji from the graphical emoji menu, then removing the space that follows the emoji

Steps to reproduce

  1. Open Emoji menu.
  2. Select a custom emote.
  3. Backspace

Environment (optional)

canary build 83 (356bd53), 2026-03-06 03:57:32 UTC, Electron 39.2.7, Linux 6.17.7-ba25.fc43.x86_64 (x64), desktop canary 0.0.7 and canary build 83 (356bd53), 2026-03-06 03:57:32 UTC, Firefox 148.0, Linux (x64)
  • 559693052-45ad30d8-f71f-4986-a860-be275ce85aee.png

    559693052-45ad30d8-f71f-4986-a860-be275ce85aee.png

    162×188 | 17 kB

1 comment

Sign in with Fluxer to comment and vote.