Bug: Safari requires an user gesture to use the Clipboard API
hodeinavarro opened this issue · comments
Hodei Navarro commented
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.