When I fire a focus event from a top level input field in Vue 3:
<input @focus="$emit('focus')">
...the event is fired once when the input field is focused (as I would expect).
However, when you put this same input field into a child component and focus it:
<InputField @focus="$emit('focus')" />
...the event is fired twice.
See https://stackblitz.com/edit/vue-wjhche?devToolsHeight=33&file=src/components/HelloWorld.vue
Can you please help me to understand why this is happening? Thanks!