Skip to content

Phantom wallet does not open when MetaMask extension is also installed #154

@mocco-hub

Description

@mocco-hub

Your issue will be reviewed by a maintainer and labeled for further action.
To complete your request, follow the bot-actions to report this on the support E-mail box and follow the outlined steps. Alternatively, you can report this issue on the official web page to an agent for assistance.
@YVeselovskyi


                  Issue Description 

Describe the bug When both Phantom and MetaMask browser extensions are installed, clicking on Phantom in the wallet selection modal does not open the Phantom wallet popup. The connection attempt silently fails or gets intercepted by MetaMask's provider.

To Reproduce

  1. Install both the Phantom and MetaMask browser extensions in Chrome
  2. Go to https://anza-xyz.github.io/wallet-adapter/example/
  3. Click "Select Wallet"
  4. Choose "Phantom" from the wallet list
  5. Phantom wallet popup does not appear — no connection prompt is shown

Expected behavior The Phantom wallet popup should open and prompt the user to approve the connection, regardless of whether MetaMask is also installed.

Screenshots N/A — no visible error; the wallet simply does not open.

Desktop (please complete the following information):

  • OS: macOS
  • Browser: Chrome
  • Version: Latest

Smartphone (please complete the following information): N/A — desktop only

Additional context This is likely caused by a provider collision. Both Phantom and MetaMask inject into window.ethereum, and Phantom also provides a Solana provider via window.phantom.solana. When MetaMask is present, it may be overwriting or interfering with Phantom's provider detection in the wallet adapter, preventing Phantom from being properly resolved and connected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingduplicateThis issue or pull request already existsenhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions