Fixes #23 -- Add a selector for skin tone#43
Fixes #23 -- Add a selector for skin tone#43treyhunner merged 2 commits intoTruthfulTechnology:mainfrom
Conversation
✅ Deploy Preview for leafy-cocada-ad06dd ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
Nice work!
It seems like disabling <label for="skintone" style="pointer-events: none;">Skin tone</label>That might be worth doing (I experienced the double-clicking right away and I think it's worth fixing if we can).
I don't have any individual skin tone set in my operating system but it looks like some emoji characters don't merge properly. I thought maybe this was due to the OpenSansEmoji font, but it doesn't look like the browser is even serving up that font (I assume I messed something up in the CSS font-face config). |
|
I've pushed a commit with the As for the issue with the "unmerged" emoji, I see the same thing as your screenshot on my machine but only in chromium. Firefox renders those fine. From what I understand the Unicode standard defines which emoji are "skintone-enabled" but each font is then responsible for actually implementing the merging. That explains why things can render differently on different OSes, different versions of the same OS, or even different browsers on the same OS. One possible solution could be to do some |
|
I tested this out on my phone and it seems to work much better than on my computer (the non-combining characters on my laptop all combine on the phone). The non-combining issue seems to exacerbate the issue in #40. At least it only happens if/when users opt-in to using a modifier and if their OS has the similar issues to mine. I think disabling pointer-events for labels is worth doing before merging. Thoughts @bmispelon? |
Missed this before sending my last message.
I was also thinking customizing overflow might fix this. 👍🏻 |
|
Excellent, thanks 👍🏻 I'll make a note about EDIT No I won't , I just saw that you've already closed that ticket 😅 |

Features:
localStorage)Limitations: