phantom / docs

32 stars 17 forks source link

Wallet adapter not firing event on wallet change #143

Closed joefitter closed 10 months ago

joefitter commented 10 months ago

Phantom chrome extension: v23.19.0 Chrome (OSX) 120.0.6099.109 (Official Build) (arm64)

Hi, this was an issue that was resolved a couple of months back but seems to have crept back in recently.

When switching between Solana wallets on a connected dApp (using Solana wallet adapter), nothing happens and the old wallet stays connected.

Expected behaviour: the wallet change is picked up, so the user doesn't need to hard disconnect or refresh the page.

This is especially critical for our multi-sig locking feature in biblio.tech as users need to sign with 2 wallets, the app polls awaiting a wallet change which never fires.

Repro steps: