Skip to content

[Frontend] Fixes a bug with the QR code modal being able to be toggled via the connect wallet button - #41

Open
glhuang wants to merge 21 commits into
MorpheusAIs:add_iconsfrom
glhuang:glhuang/frontend-fix-on-qr-code-modal-remounting
Open

[Frontend] Fixes a bug with the QR code modal being able to be toggled via the connect wallet button#41
glhuang wants to merge 21 commits into
MorpheusAIs:add_iconsfrom
glhuang:glhuang/frontend-fix-on-qr-code-modal-remounting

Conversation

@glhuang

@glhuang glhuang commented Mar 2, 2024

Copy link
Copy Markdown

Fixes a bug I noticed where exiting out of the QrCodeModal when clicking the connect button doesn't allow for it to be reshown on subsequent connect button clicks. (See before vs after).

Early return for the modalContainer DOM element shouldn't be necessary since at unmount we ensure that the modalContainer element is removed.

Before

Screen.Recording.2024-03-01.at.5.57.23.PM.mov

After

Screen.Recording.2024-03-01.at.5.56.24.PM.mov

@glhuang glhuang changed the title Fixes an issue with the QR code modal being able to be toggled via the connect wallet button [Frontend] Fixes an issue with the QR code modal being able to be toggled via the connect wallet button Mar 2, 2024
@glhuang glhuang changed the title [Frontend] Fixes an issue with the QR code modal being able to be toggled via the connect wallet button [Frontend] Fixes a bug with the QR code modal being able to be toggled via the connect wallet button Mar 2, 2024
@betterbrand

betterbrand commented Mar 13, 2024

Copy link
Copy Markdown
Contributor

@glhuang please commit this into the current development branch.

@glhuang
glhuang changed the base branch from main to development March 13, 2024 04:40
@glhuang

glhuang commented Mar 13, 2024

Copy link
Copy Markdown
Author

@glhuang please commit this into the current development branch.

Done!

@betterbrand betterbrand left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

updated yaml

@betterbrand

Copy link
Copy Markdown
Contributor

@glhuang please see the failed builds.

@dorianjanezic

dorianjanezic commented Mar 21, 2024

Copy link
Copy Markdown

Hi,

build is failing because of the node version upgrade in file .github/workflows/build.yml

The bug mentioned in this PR is already resolved in development branch. @glhuang @betterbrand

@betterbrand
betterbrand changed the base branch from development to add_icons April 5, 2024 19:13
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.

5 participants