Closed Vitomir2 closed 1 year ago
I think this is something to be fixed in the extension code. The Emoji
component has the emits
property here:
But it only defines click
event, while the component also emits mouse events here:
I added missing emits
definitions and published version 12.0.4 with a fix.
Hi community,
I continue receiving two warnings when enter and leave the emoji are with the mouse: "Component emitted event "mouseenter" but it is neither declared in the emits option nor as an "onMouseenter" prop." and the same for mouseleave event. Below, you can find also a screenshot. I am using the v12.0.1 of emoji-mart-vue and my vue version is 3.2.20. I am using this in another app which is Vue2 and there are no such warnings. It works fine, but I do not like these messages in the console. How can I solve that?
This is how I am using it: