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 Copy Doesn't Work in MacOS Safari #2636

Open
runako opened this issue Sep 7, 2024 · 2 comments
Open

Clipboard Copy Doesn't Work in MacOS Safari #2636

runako opened this issue Sep 7, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@runako
Copy link

runako commented Sep 7, 2024

Bug description

Clipboard copy icons in the site do not copy in Safari.

image

The icon in this image is the one I clicked when filing this issue.

How to reproduce

  1. Click any of the copy icons in the app. For example, on the Settings->Members->Invites page, next to the member ("Copy the invite link").
  2. Browser console shows "Clipboard not supported"

Environment

macOS Sonoma 14.1 (23B74)
Safari Version 17.1 (19616.2.9.11.7)

Additional context

I have not found this to work for any of the copy icons I have encountered in the app.

Thank you for your bug report – we love squashing them!

@runako runako added the bug Something isn't working label Sep 7, 2024
@nickzelei
Copy link
Member

Hm, I'm not able to reproduce this.

I just tried it in Safari and was able to use the copy clipboard functionality.

We are using the Safari Navigator API which has been supported since 13.1.
https://developer.mozilla.org/en-US/docs/Web/API/Navigator/clipboard

Pretty strange.

I'm on a slightly newer macos/safari however.

Environment

macOS 14.6.1 (23G93)
Safari Version 17.6 (19618.3.11.11.5)

@runako
Copy link
Author

runako commented Sep 12, 2024

Weird. I just double-checked that some clipboard copy implementations work for me, notably the clone repo icon in Github. I'm not sure what it does differently.

image

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

2 participants