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

Feature: Close menu after clicking link #112

Merged
merged 3 commits into from
Feb 7, 2024

Conversation

brunomenezes
Copy link
Collaborator

@brunomenezes brunomenezes commented Feb 5, 2024

Summary

Code changes to close the mobile menu when clicking one of the links [inputs, applications, home] so the user have a feedback that the navigation happen. Also, changes to fix a bug that causes the send-transaction to not be enabled when entering the application with a wallet connected (only in dark-mode gif below). Ps: that also affected the menu for small devices, the send-tx would continue to be disabled even though there is an account connected.

Results

Before Fix

send-tx-disabled-on-dark-mode

After Fix

fix-send-tx-on-dark-mode

After refresh a page on dark mode when wallet is already connected the send-transaction button will continue to be disabled due to hydration problems between result comparison between content rendered on server and client.
Copy link

vercel bot commented Feb 5, 2024

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

Name Status Preview Updated (UTC)
rollups-explorer-mainnet ✅ Ready (Inspect) Visit Preview Feb 5, 2024 2:51am
rollups-explorer-sepolia ✅ Ready (Inspect) Visit Preview Feb 5, 2024 2:51am
rollups-explorer-workshop ✅ Ready (Inspect) Visit Preview Feb 5, 2024 2:51am

@brunomenezes brunomenezes merged commit 9c3cc42 into main Feb 7, 2024
7 checks passed
@brunomenezes brunomenezes deleted the feature/close-menu-on-link-click branch February 7, 2024 17:44
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