-
Notifications
You must be signed in to change notification settings - Fork 4
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
"Copy Link" not working on mobile #375
Comments
I commented out the part of the code that sending a request to the backend, and copying linked got successful. Thus, I infer that this issue occurs due to the duration of time after a user clicks the button until const handleLinkCopy = async () => {
setIsLinkButtonClicked(true);
// const result = await putGenerateInvitationLinkHash(groupId);
// if (!result.ok) {
// alert('Something went wrong. Please try again');
// return;
// }
// const hash = result.value.invitationLinkHash;
const hash = "test-hash"
return await navigator.clipboard.writeText(`${CLIENT_BASE_URL}/groups/join/${hash}`);
}; |
Also, when clicking a "Copy Link" button, got the following error that occurred on the browser at
|
Description
On some random mobile devices, the "Copy Link" does not copy the URL to the clipboard.
Environment
Notes
The text was updated successfully, but these errors were encountered: