Closed omarperacha closed 6 months ago
@omarperacha This should be resolved since ConnectKit 1.6.0
as we've migrated to EIP-6963, but this will still occur for dapps that have not yet migrated to this version.
If you're using wagmi v1 in your app you should be able to use ConnectKit 1.6.0 without any breaking changes, if you're using wagmi v2 then you'll want to use ConnectKit 1.7.0 and above (migration guide here).
Another reason this occurs for you is that this is actually an option with Phantom's extension settings for dapps that don't support EIP-6963.
Describe the bug
When selecting "MetaMask" from the wallet selection modal on Chrome, if Phantom wallet is also installed, "Install MetaMask" modal is shown instead of opening MetaMask.
To reproduce
Chrome browser with both Phantom and MetaMask extensions installed. Click "connect wallet" -> "MetaMask", ConnectKit v1.4.0
Expected behaviour
MetaMask extension should open with a connection request
Screenshots
If applicable, add screenshots to help explain your problem.
Environment details
MacOS Sonoma 14.4.1, Intel Mac, Chrome Version 123.0.6312.107
Can not currently confirm if this issue is confined to Phantom only, or if any other EVM wallets would lead to the same issue