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
The @web3modal/ethers library is not handling the disconnect logic correctly. When selecting MetaMask from the modal, the MetaMask extension does not pop up, and it auto-connects the wallet instead.
Steps to Reproduce
Open the WalletConnect Modal:
Launch the modal to connect to a wallet.
Select MetaMask:
Select MetaMask from the modal options.
Select a Wallet:
Select a Wallet from the Metamask Pop up .
Disconnect and Try to Connect Again:
Attempt to disconnect the MetaMask wallet.
Open the modal again to select MetaMask.
The wallet should connect automatically.
Expected Behavior
Each time the WalletConnect modal is opened, it should prompt the MetaMask extension to pop up and allow the user to select the wallet they want to connect to. This should happen every time the modal is launched, ensuring the user can switch between different wallets as needed.
Actual Behavior
When selecting MetaMask, the extension does not pop up, and the wallet auto-connects. This prevents the user from selecting a different wallet each time, which is necessary for certain use cases.
List of related npm package versions
@web3modal/ethers
The text was updated successfully, but these errors were encountered:
Link to minimal reproducible example
https://lab.web3modal.com/library/ethers/
Summary
The
@web3modal/ethers
library is not handling the disconnect logic correctly. When selecting MetaMask from the modal, the MetaMask extension does not pop up, and it auto-connects the wallet instead.Steps to Reproduce
Open the WalletConnect Modal:
Select MetaMask:
Select a Wallet:
Disconnect and Try to Connect Again:
Expected Behavior
Each time the WalletConnect modal is opened, it should prompt the MetaMask extension to pop up and allow the user to select the wallet they want to connect to. This should happen every time the modal is launched, ensuring the user can switch between different wallets as needed.
Actual Behavior
When selecting MetaMask, the extension does not pop up, and the wallet auto-connects. This prevents the user from selecting a different wallet each time, which is necessary for certain use cases.
List of related npm package versions
@web3modal/ethers
The text was updated successfully, but these errors were encountered: