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

not working on Mac safari 15.0 #53

Open
yossi-shasho opened this issue Nov 15, 2021 · 6 comments
Open

not working on Mac safari 15.0 #53

yossi-shasho opened this issue Nov 15, 2021 · 6 comments

Comments

@yossi-shasho
Copy link

No description provided.

@yossi-shasho
Copy link
Author

yossi-shasho commented Nov 15, 2021

just used the example from the github readme

const copy = require('clipboard-copy')

button.addEventListener('click', function () {
  copy('This is some cool text')
})

got a console error:

Unhandled Promise Rejection: NotAllowedError: The request is not allowed

@makeitraina
Copy link

I found this same issue too. @yossi-shasho did you find a solution or any work-around?

@yossi-shasho
Copy link
Author

@makeitraina i haven't solved it. apparantly its bigger than us - apple blocked it in a deeper level thats not easily surpassable. we're changed the UI to a input the user can copy from.

1 similar comment
@yossi-shasho
Copy link
Author

@makeitraina i haven't solved it. apparantly its bigger than us - apple blocked it in a deeper level thats not easily surpassable. we're changed the UI to a input the user can copy from.

@LinusU
Copy link
Collaborator

LinusU commented Mar 16, 2022

If anyone has any suggested code for how to make it work on Safari 15 I would be happy to add it and make a new release 🚀

@stebogit
Copy link

stebogit commented Jul 7, 2022

FYI it works for me on Safari 15.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants