Closed ClusterH closed 1 year ago
This is definitely annoying. In the current setup, I basically rely on other libs/Wagmi to handle this. So ideally should get solved there. I know they've tried to workaround this, but have been unsuccessful.
I'll try to do some more research on it tho.
Closing with #11
Big thanks to @marthendalnunes 🙏
It is known issue in MetaMask. For example, when switch to custom networks and/or test networks (Polygon, Mumbai, Arbitrum, BSC etc) from Ethereum, Metamask fire disconnect event, it cause Metamask disconnection issue.
Current version of nexth also have this issue, I confirmed it. (Just try Switch network from Ethereum to Polygon through dapp or metamask itself)
Is there any plan to fix this problem in the nexth? I will appreciate it if can share alternative solution to fix until MetaMask fix officially.