soerenmartius / vue3-clipboard

📋 clipboard.js bindings for Vue 3
MIT License
106 stars 8 forks source link

Seems to have issue if used multiple times #121

Open jamols09 opened 1 year ago

jamols09 commented 1 year ago

I can't seem to copy the value of the second method that uses copyClipboard

const copyCode = async () => {
    await toClipboard(promocode.value)
}

const copyID = async () => {
    await toClipboard(id.value)
}
soerenmartius commented 1 year ago

Hi, thanks for reporting this issue @jamols09! Unfortunately I don't maintain this repository pro-actively anymore. I instead recommend using vueuse instead.