vue-clipboards
vue-clipboards copied to clipboard
success event emitted twice
Version: 1.2.4
Can't test the newest version after this but looking at the commit history tells me issue would still be present there regardless.
The success
event is emitted twice for some reason, whether bound to anonymous function or a normal one.
<button v-clipboard="() => someFuncReturningVal()" @success="someHandler">
someHandler
is called twice.