web3modal icon indicating copy to clipboard operation
web3modal copied to clipboard

[bug] signOutOnNetworkChange: false causes hang on network switch in injected MetaMask

Open chris13524 opened this issue 1 year ago • 1 comments

Link to minimal reproducible example

http://localhost:3000/library/wagmi-all/

Summary

Using the signOutOnNetworkChange: false option and injected MetaMask, if you switch chains and approve in MetaMask the modal will hang on "Approve in wallet" after approving the network switch in MetaMask.

Can reproduce in lab by changing this setting. Video reproduction

List of related npm package versions

latest

chris13524 avatar Jun 07 '24 19:06 chris13524

This issue appears to be resolved in the latest packages.

rtomas avatar Aug 28 '24 14:08 rtomas