element-hq / element-hq/element-web

Emojis are not properly represented in message input field

Open
#24,438 1 comment 0 reactions 0 assignees View on GitHub
A-Composer A-Emoji O-Uncommon S-Minor T-Defect
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

1. Open any chat
2. Choose/paste some uncommon emojis, for example 🇸 🇱 (without space in between)
3. Send them.

### Outcome

#### What did you expect?

I expect my message to look the same way as in input field.

Here, what GitHub does:

https://user-images.githubusercontent.com/52239427/216790134-2d2d772c-47c1-409e-8897-a359e15f1fd7.mp4

#### What happened instead?

🇸 🇱 turned into 🇸🇱

https://user-images.githubusercontent.com/52239427/216790156-fb2b1f87-23a8-45e0-a5a8-50780c952d1b.mp4

### Operating system

nixOS

### Browser information

Mozilla Firefox 109.0.1 (64-bit)

### URL for webapp

app.element.io

### Application version

Element version: 1.11.21 Olm version: 3.2.12

### Homeserver

sleroq.link, Dendrite v0.11.0

### Will you send logs?

Yes

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.