Skip to content
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

Clipboard issues on Safari only #166

Open
jpmckinney opened this issue May 29, 2024 · 0 comments
Open

Clipboard issues on Safari only #166

jpmckinney opened this issue May 29, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@jpmckinney
Copy link
Member

Clicking the clipboard icon doesn't copy to clipboard. But, clicking the preview icon then clicking the clipboard icon does copy.

Swapping out v-clipboard for https://www.npmjs.com/package/clipboard doesn't resolve the issue.

import Clipboard from "clipboard";
Clipboard.copy("");

I couldn't get navigator.clipboard to not error.

https://forums.developer.apple.com/forums/thread/691873
https://stackoverflow.com/questions/66312944/javascript-clipboard-api-write-does-not-work-in-safari
https://wolfgangrittner.dev/how-to-use-clipboard-api-in-firefox/

@jpmckinney jpmckinney added the bug Something isn't working label May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant