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

Bug: Safari requires an user gesture to use the Clipboard API #6

Open
hodeinavarro opened this issue Sep 1, 2022 · 0 comments
Open

Comments

@hodeinavarro
Copy link

hodeinavarro commented Sep 1, 2022

Clipboard API can not be called in an input change on Safari because it's not an user gesture event such as click or touch.

Error:

Unhandled Promise Rejection: NotAllowedError: The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission.

Check same issue on pheralb/svgl for more context and the PR fixing it.

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

1 participant