-
Notifications
You must be signed in to change notification settings - Fork 99
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
Copy command failed in ios Safari if -webkit-user-select is none for created span #75
Comments
Oh, fun. It should be easy to add clipboard-polyfill/clipboard-polyfill.ts Lines 182 to 185 in 23bb29e
Do you know how other browsers behave? |
Changes: - Support copying on iOS Safari even if the document body is set to `-webkit-user-select: none`. #75
So, I thought I had a solution for this, but it doesn't appear to work if |
Looks like I misunderstood that you can't set Could you check that |
You don't need to set |
On my computer, setting Thanks for verifying the fix! |
Yeah, if global styles has |
Changes: - Fix copying `text/html` on desktop Safari when the body has `-webkit-user-select: none` set. #75.
https://jsfiddle.net/561qcehd/11/
It can be workarounded easily if change css selector for rule to something more specific than
body
, but i think that library should handle this case, e.g. using inline styles for created span with-webkit-user-select: text;
.The text was updated successfully, but these errors were encountered: