Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] Phantom Wallet does not prompt to connect when the web app is embedded in an iframe #2845

Open
andremfaria opened this issue Sep 11, 2024 · 0 comments
Labels
bug Something isn't working needs review

Comments

@andremfaria
Copy link

Link to minimal reproducible example

https://github.com/andremfaria/web3modal-phantom-iframe

Summary

Current behaviour:
Phantom Wallet does not prompt when the web app is embedded in an iFrame. We get stuck in an infinite load.

Expect behaviour:
Phantom Wallet should prompt the user to connect.

Evidence:

Screen.Recording.2024-09-11.at.15.50.20.mov

Note: In the actual project, both the parent and the embedded web app are hosted under the same domain.

List of related npm package versions

"@web3modal/solana": "5.1.7",
"@tanstack/react-query": "5.24.8",
"react": "18.2.0",
"react-dom": "18.2.0",
"vite": "5.2.11",
"@solana/wallet-adapter-backpack": "0.1.14",
"@solana/wallet-adapter-wallets": "0.19.32"
@andremfaria andremfaria added bug Something isn't working needs review labels Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs review
Projects
None yet
Development

No branches or pull requests

1 participant