Closed tohsaka888 closed 1 year ago
It seems that the browser has blocked access to the navigator.clipboard
API.
You can enable manual copy fallback with the option usePromptAsFallback
:
const { copy, error } = useClipboard({ usePromptAsFallback: true });
With this option, foxact will attempt to use window.prompt
to provide a fallback.
Thanks!!!
Hi,i am using foxact.
I deploy my web app using docker in private server.When i want to copy something using
useClipboard
, i got an error.How can i fix it?