-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
copyed in the second time in chrome #90
Comments
I believe, @wutw could have elaborated better on this matter. I'll try my best: using the copy method doesn't work, when you're initiating it for the first time. But, next time it works ok. I personally have tried async retries with variable sleep timers and it didn't help. Doesn't work in Safari (13.1) and a Mobile Safari on iOS 13.1. |
I ve discovered that before calling ... https://github.com/sudodoki/copy-to-clipboard/blob/master/index.js#L75 |
It's weird, as removeAllRanges is done in https://github.com/sudodoki/toggle-selection/blob/gh-pages/index.js#L25 which is called before initiating copy logic |
copyed in the second time in chrome
The text was updated successfully, but these errors were encountered: