-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
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).
- In the opened wallet connection modal, locate and click on the "Phantom" entry (which should appear as "Phantom" without a "Detected" badge).
- 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
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"