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

fix: Add close button to QR Code Reader #66

Merged
merged 3 commits into from
Jun 12, 2024
Merged

fix: Add close button to QR Code Reader #66

merged 3 commits into from
Jun 12, 2024

Conversation

ChangoMan
Copy link
Collaborator

Description

This is a way to fix #65

The issue is, when the Send Drawer is open, it manipulates other parts of the website so nothing else can be interacted with. Only the elements in the drawer can be interacted with.

I'm adding a close button to the QR code reader, with pointer-events-auto that will override this. However, when you close the QR code reader it will also close the Send modal now. I'm not sure how to prevent this, but this is a solution to the issue mentioned above.

Copy link

vercel bot commented Jun 11, 2024

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

Name Status Preview Comments Updated (UTC)
burnerwallet-nextjs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 12, 2024 1:31pm

@ChangoMan ChangoMan requested a review from Pabl0cks June 11, 2024 04:18
Copy link
Member

@Pabl0cks Pabl0cks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The solution looks good to me @ChangoMan! Added a couple of comments 🙌

However, when you close the QR code reader it will also close the Send modal now

I think is fine to open again the Send drawer on that edge case, it's just 1 click

Copy link
Member

@Pabl0cks Pabl0cks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good!

@Pabl0cks Pabl0cks merged commit da2f6c3 into main Jun 12, 2024
3 checks passed
@Pabl0cks Pabl0cks deleted the qr-code-portal branch June 12, 2024 13:46
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.

QR Scanner from "Send" drawer does not close when you click outside the square
2 participants