serebrov / emoji-mart-vue

One component to pick them all (performance improvements) 👊🏼
https://serebrov.github.io/emoji-mart-vue/
BSD 3-Clause "New" or "Revised" License
275 stars 48 forks source link

fix: declare all emits in all components #296

Closed Thomaash closed 7 months ago

Thomaash commented 7 months ago

This is the same as https://github.com/serebrov/emoji-mart-vue/pull/243 but in the other places that were not covered there.

We encountered this in Safari 17.4.1 where the categories would change on Vue click event correctly but right after that the native click with ClickEvent object as it's first argument would be processed and make the picker completely empty with no way back.

serebrov commented 7 months ago

Thanks! I published version 15.0.2 with this change.