Closed robcresswell closed 2 years ago
In Vue 3, click events fall through meaning each event is fired twice when adding @click prop to the component. Adding emits: ['click'] tells the component to expect an external click event, therefore preventing the double event.
Co-Authored-By: 1VinceP vpalmergraphics@gmail.com
In Vue 3, click events fall through meaning each event is fired twice when adding @click prop to the component. Adding emits: ['click'] tells the component to expect an external click event, therefore preventing the double event.
Co-Authored-By: 1VinceP vpalmergraphics@gmail.com