You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Minor Changes
e781fb7: Clipboard permission: readClipboardPermission, watchClipboardPermission (in react-smart-copy/core) and the useClipboardPermission hook tell you whether the browser will let the page read or write the clipboard, so a blocked paste button can say what to do instead of failing. The state is granted, prompt, denied or unsupported; Firefox and Safari have no such permission to query and say unsupported, which is not a refusal. It never reads the clipboard and never shows a prompt.