You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using autoConnectLastWallet and switching wallets (Rabby/Metamask) or disconnecting, a user triggering connectWallet is prompted with a blank account center modal with 0 available wallets and message: 'XXX only supports MetaMask on this platform. Please use or install one of the supported wallets to continue'.
Triggering connectWallet again seems to reset and work as expected.
Expected Behavior
If previously connected wallet fails to auto connect, calling connectWallet should display every wallet defined in the onboard configuration.
Steps To Reproduce
Connect to a dApp configured with {connect: {autoConnectLastWallet: true}} using MetaMask or Rabby .
Replace onboard.js:last_connected_wallet in local storage with the other wallet (['MetaMask'] => ['Rabby'] or ['Rabby'] => ['MetaMask'].
Refresh the app and try to connect again.
What package is effected by this issue?
@web3-onboard/core
Is this a build or a runtime issue?
Runtime
Package Version
2.21.2
Node Version
v20.8.1
What browsers are you seeing the problem on?
Chrome, Safari
Relevant log output
No response
Anything else?
No response
Sanity Check
If this is a build issue, I have included my build config. If this is a runtime issue, I have included reproduction steps and/or a Minimal, Reproducible Example.
The text was updated successfully, but these errors were encountered:
Hi @clement4saunier thanks for raising this issue.
Which version of the web3-onboard/injected-wallets package are you using?
This may be due to a namespace collision on the provider where Rabby sets the isMetaMask flag as true, and if so this should be solved with the latest version of the injected-wallets package.
Current Behavior
When using autoConnectLastWallet and switching wallets (Rabby/Metamask) or disconnecting, a user triggering
connectWallet
is prompted with a blank account center modal with 0 available wallets and message: 'XXX only supports MetaMask on this platform. Please use or install one of the supported wallets to continue'.Triggering
connectWallet
again seems to reset and work as expected.Expected Behavior
If previously connected wallet fails to auto connect, calling connectWallet should display every wallet defined in the onboard configuration.
Steps To Reproduce
{connect: {autoConnectLastWallet: true}}
using MetaMask or Rabby .onboard.js:last_connected_wallet
in local storage with the other wallet (['MetaMask'] => ['Rabby']
or['Rabby'] => ['MetaMask']
.What package is effected by this issue?
@web3-onboard/core
Is this a build or a runtime issue?
Runtime
Package Version
2.21.2
Node Version
v20.8.1
What browsers are you seeing the problem on?
Chrome, Safari
Relevant log output
No response
Anything else?
No response
Sanity Check
The text was updated successfully, but these errors were encountered: