Skip to content

Conversation

@keshav0479
Copy link

Description

This PR implements the "Click-to-Copy" functionality for QR codes as requested in #2851.

Changes

  • Wrapped the QRCode component in a clickable container.
  • Added a hover overlay with a PopiconsCopyLine icon using Tailwind group-hover for zero-state logic.
  • Implemented pointer-events-none on the center Avatar in the Receive screen to ensure the entire QR area is clickable.
  • Used the existing copied translation key and internal toast component to maintain consistency.

Note

This PR addresses and resolves the feedback provided in the stale PR #3345 (inactive since May 2025).

Testing

  • Verified hover state appears correctly in light/dark mode.
  • Verified clicking anywhere (including the center logo) copies the address and shows the toast notification.

Visuals

Normal State Hover & Success Toast

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.

1 participant