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

[bug] Do not show the Switch Network modal when the app doesn't support your current network #2518

Closed
vietvh-3042 opened this issue Jul 7, 2024 · 4 comments · Fixed by #2565
Labels
bug Something isn't working needs review

Comments

@vietvh-3042
Copy link

vietvh-3042 commented Jul 7, 2024

Link to minimal reproducible example

n/a

Summary

I noticed that from version 5.0.4. Modal Switch Network is not displayed when This app doesn't support your current network. When I changed the network from Metamask the network was unsupported, I need this feature, is there any way to do it?
image

I tried it, with allowUnsupportedChain: false but it doesn't seem to work. No modal appears when I switch to an unsupported network
image

List of related npm package versions

Latest web3modal

@vietvh-3042 vietvh-3042 added bug Something isn't working needs review labels Jul 7, 2024
@mepadev
Copy link

mepadev commented Jul 7, 2024

Yes, I noticed that too! I just don't know if previous versions had a warning; maybe I'll try a downgrade as well...

@Markcode1992
Copy link

Any update here? New version broke this.

@Markcode1992
Copy link

Switch Network modal broken since 5.0.4 release and no effort to fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs review
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants