Open Steph3146 opened 1 year ago
I just made a React App wit react-copy-to-clipboard, and the copy/paste functionnality doesn't work on my tablets (Acer Iconia A3 and Ipad 14 Pro)
I really suggest to use a standard function navigator.clipboard.writeText(text) instead of any libraries.
navigator.clipboard.writeText(text)
See more https://developer.mozilla.org/en-US/docs/Web/API/Clipboard/writeText
https://stackoverflow.com/questions/64615997/how-do-i-copy-to-the-clipboard-using-an-html-button-with-variable-values/77799295#77799295
I just made a React App wit react-copy-to-clipboard, and the copy/paste functionnality doesn't work on my tablets (Acer Iconia A3 and Ipad 14 Pro)