DEV Community

Discussion on: Emoji Button: 400 ⭐️ stars on GitHub!

Collapse
 
yuanhao profile image
YuanHao Chiang • Edited

Nice! 400 is amazing. Just added your 417th star πŸ˜‰ I really like how sleek it is and vanilla coded libraries are a real treat nowadays.

One small detail, on Firefox, contenteditable has some sort of weird height issue (MacOS and Windows):

firefoxBug

This can be easily fixed with a zero-width non-breaking space:

*[contenteditable]:empty:before
{
    content: "\feff";
}

I ran into this with my pet Markdown Table project. I was looking to add an Emoji component, I will try out yours!

Collapse
 
joeattardi profile image
Joe Attardi

Thanks for the heads up! I will fix the demo site so that it displays correctly in Firefox.