missive / emoji-mart

🏪 One component to pick them all
https://missiveapp.com/open/emoji-mart
MIT License
8.38k stars 802 forks source link

Inconsistent presentation sequences for some emoji (such as :zap:) #822

Open kainosnoema opened 1 year ago

kainosnoema commented 1 year ago

We're finding that emoji-mart is providing the text presentation sequence rather than the emoji presentation sequence for certain emoji, yielding very different emoji in browsers that support both.

For example, :zap: which is 26a1, should actually be 26a1-fe0f to display properly as emoji in all environments. Notice the difference in WKWebView (Mac OS embedded browser). The top example is taken from emoji-mart (native), the bottom is typed using the built-in emoji keyboard and gives the proper emoji presentation sequence:

Screenshot_2023-04-25_at_9_37_07_AM

Meanwhile, other emoji are properly defined with the correct presentation sequence, as you can see from the data here (v14):

Screenshot_2023-04-25_at_9_32_51_AM