Skip to content

Fix copy-to-clipboard functionality#225

Open
ivanauth wants to merge 2 commits intoauthzed:mainfrom
ivanauth:fix/issue-224-copy-to-clipboard
Open

Fix copy-to-clipboard functionality#225
ivanauth wants to merge 2 commits intoauthzed:mainfrom
ivanauth:fix/issue-224-copy-to-clipboard

Conversation

@ivanauth
Copy link

@ivanauth ivanauth commented Dec 15, 2025

Fixes #224

The copy-to-clipboard button wasn't actually copying anything - the original code called the clipboard API but never awaited it or checked if it worked.

Now it properly waits for the copy to complete, falls back to the old textarea trick for browsers that don't support the modern API (or non-HTTPS pages), and only shows "URL copied" when it actually did.

@vercel
Copy link
Contributor

vercel bot commented Dec 15, 2025

@ivanauth is attempting to deploy a commit to the authzed Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix copy-to-clipboard functionality

1 participant