Mastonaut icon indicating copy to clipboard operation
Mastonaut copied to clipboard

Emojis being placed in the wrong location

Open akibasocial opened this issue 2 years ago • 2 comments

Problem

When editing a toot, when placing a custom emoji at the end it ignores all text and is shown at the top left of the textbox

Steps to reproduce

  • Open new toot window
  • Write text of the toot
  • Press enter to break the line
  • Open the emoji picker and select an emoji
  • Emoji will be placed on top left like there's no text on the toot

Version

1.8.0 (142)

image

akibasocial avatar Aug 16 '23 18:08 akibasocial

Hmmmm.

I'm guessing the bug is somewhere in AnimatableEmojiCell. This comment may also be relevant: https://stackoverflow.com/a/8723005/1600

Of note, once you insert an emoji with autocomplete, all other emoji are subsequently aligned correctly. I'm not sure why.

chucker avatar Aug 20 '23 19:08 chucker

That's right, if the first emoji comes from the autocomplete, I can get the others from the emoji picker and they will be placed correctly

akibasocial avatar Aug 29 '23 19:08 akibasocial