You must have an issue with your implementation.
The demosite works without any issues: https://clipboardjs.com/ (just verified it in Chrome)
When the data is obtained asynchronously, the first copy needs to be clicked twice.How to solve?
I can't take the DOM element with $nextTick in vue's mouted, so I can't pre-initialize it.
The problem was resolved because I didn't get the DOM elements right.
@inputherf then please close Thisted issue
look:

I met the same problem
The problem was resolved because I didn't get the DOM elements right.
Thank you for your answer .The problem is really with the DOM binding
Most helpful comment
The problem was resolved because I didn't get the DOM elements right.