Emoji's getting cut in Code #1475
Labels
Bug
There is a problem in our source code
Code
Related to the Markdown Code app
Dependencies
Any software dependancies problems
Description
Certain emoji's (complex ones like country flags) get cutoff when your cursor is in them.
Steps to reproduce
If you paste an emoji like a country flag (ex 馃嚙馃嚜 or 馃嚞馃嚙) in Code and then move your cursor using the arrow keys to the left of emoji, your cursor is actually in the middle of the emoji instead of to the left of it.
So if you then press space or add another letter in that cursor position you cut the emoji.
It goes from this:
to this:
So to be clear, put your cursor to the right of such an emoji. Then press left arrow key once, now you cursor should be to the left of the emoji (and visually it is) but in reality it's in the middle of the emoji.
Relevant logs
No response
Expected behavior
If you press the left arrow key of such an emoji it should be on the left of that
Which operating system are you using?
Linux/BSD/UNIX
What browsers are you seeing the problem on?
Mozilla Firefox
Extensions
Tried in a fresh firefox profile
Version
2024.3.0
The text was updated successfully, but these errors were encountered: