zenorocha / clipboard.js

:scissors: Modern copy to clipboard. No Flash. Just 3kb gzipped :clipboard:
https://clipboardjs.com
MIT License
34.02k stars 3.98k forks source link

Page hangs after copy the text #869

Closed rixcapricorn closed 4 months ago

rixcapricorn commented 9 months ago

I have used copy to clipboard in my page to copy some token. But after copying the text, after few seconds, page gets hang, modal pop up is automatically gone + toggle switch is lost (see in background page, enable/disable token toggle button), javascript events lost.

obetomuniz commented 4 months ago

Hey @rixcapricorn, thanks for reporting, I'm planning to contribute to some open issues. Can you confirm if your problem remains? For now, without a proposal demo to reproduce, I am closing the report since it seems a not related clipboard.js bug to me. You are welcome to re-open if including a reproducible demo using jsfiddle or something like that.