chucker / Mastonaut

Simple, elegant, and native Mastodon client for Mac.
GNU General Public License v3.0
118 stars 6 forks source link

Emojis being placed in the wrong location #157

Open akibasocial opened 1 year ago

akibasocial commented 1 year ago

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

Version

1.8.0 (142)

image
chucker commented 1 year ago

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.

akibasocial commented 1 year ago

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