Skip to content
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

refactor: update copy link rendering condition #1592

Merged
merged 1 commit into from
Dec 20, 2023

Conversation

enesozturk
Copy link
Contributor

Changes

We're currently rendering the copy link button conditionally depending on the uri and ready states. This causes a layout shift when we get these values updated. Instead of hiding the copy button, we could disable it so it'll be available at the same the the QR code is loaded

N/A

Changes

  • fix: copy button causes layout shift on QR code loaded

Associated Issues

https://walletconnect.slack.com/archives/C03RVH94K5K/p1703056394669249?thread_ts=1702956728.455579&cid=C03RVH94K5K

Copy link

vercel bot commented Dec 20, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
web3modal-gallery ✅ Ready (Inspect) Visit Preview Dec 20, 2023 9:01am
web3modal-laboratory ✅ Ready (Inspect) Visit Preview Dec 20, 2023 9:01am
web3modal-react-wagmi-ex ✅ Ready (Inspect) Visit Preview Dec 20, 2023 9:01am
web3modal-vue-wagmi-ex ✅ Ready (Inspect) Visit Preview Dec 20, 2023 9:01am

@enesozturk enesozturk merged commit ada8935 into V3 Dec 20, 2023
12 checks passed
@enesozturk enesozturk deleted the fix/copy-link-layout-shift branch December 20, 2023 09:36
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.

2 participants