Skip to content

Phantom Wallet (Not Detected) does not open install link/redirect #1111

@Franck-Roger

Description

@Franck-Roger

Describe the bug
When Phantom wallet is not installed, clicking its entry in the WalletModalProvider modal does nothing. It does not open https://phantom.app/ or any other link.
In contrast, when Solflare wallet is not installed, clicking its entry correctly redirects the user to its install page, confirming the general modal functionality works.

To Reproduce
Steps to reproduce the behavior:
Ensure the Phantom browser extension is not installed in your web browser (e.g., Chrome, Firefox).

  1. In the opened wallet connection modal, locate and click on the "Phantom" entry (which should appear as "Phantom" without a "Detected" badge).
  2. Observe that nothing happens: no new tab opens, no redirect occurs, and no in-modal prompt for installation appears.

Expected behavior
When the Phantom wallet is not installed and its entry is clicked in the WalletModalProvider modal, the browser should open a new tab/window, redirecting the user to https://phantom.app/ (Phantom's official website) to facilitate its installation.

Screenshots

Image

Only thing that happens is a new entry in localstorage walletName/Phantom.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
"@solana/wallet-adapter-base": "^0.9.27",
"@solana/wallet-adapter-react": "^0.15.39",
"@solana/wallet-adapter-react-ui": "^0.9.39",
"@solana/wallet-adapter-wallets": "^0.19.37"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions