vue-clipboards icon indicating copy to clipboard operation
vue-clipboards copied to clipboard

success event emitted twice

Open blackxored opened this issue 2 years ago • 0 comments

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.

blackxored avatar Jul 19 '22 20:07 blackxored