missive / emoji-mart

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

Rerendered emoji fails to be inserted #888

Open enzoferey opened 8 months ago

enzoferey commented 8 months ago

Hi!

We have observed that sometimes when em-emoji components are being rerendered the library fails to pick up the tag and insert the DOM elements inside it. Here is a video showcasing the issue:

https://github.com/missive/emoji-mart/assets/10673347/6a2c93b8-cfe1-4c5c-ad6f-87873561a96a

It also happens with local development HMR / fast refresh.

Any ideas? Thank you!