-
Notifications
You must be signed in to change notification settings - Fork 160
fix(swap): select network outside click on mobile (#6603) #6604
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(swap): select network outside click on mobile (#6603) #6604
Conversation
|
@crutch12 is attempting to deploy a commit to the cow Team on Vercel. A member of the Team first needs to authorize it. |
WalkthroughA new DOM reference ( Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes
Suggested reviewers
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
elena-zh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for fixing this
Summary
Fixes #6603
To Test
Network Selector should be closed on the second click
Background
I'm not sure why
useOnClickOutsidedoesn't acceptnode refin mobile mode. So I've added Control button ref inuseOnClickOutsidearg array on mobile. Now second click doesn't triggeruseOnClickOutsideSummary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.