web3modal
web3modal copied to clipboard
[bug] signOutOnNetworkChange: false causes hang on network switch in injected MetaMask
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
This issue appears to be resolved in the latest packages.