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 you are not connected to any wallets, the UI should not display. It should discard and/or hide itself.
Steps To Reproduce
Run the linked repo
You'll notice the Web3Onboard UI is displayed as soon as it is initialized
You'll also notice you can interact with the UI (even though certain actions will do nothing since you are not connected to any wallets)
Connect wallet
When disconnecting all wallets using the UI, you'll notice that the 'disconnect wallets' modal will persist on your screen
What package is effected by this issue?
@web3-onboard/core
Is this a build or a runtime issue?
Runtime
Package Version
v2.21.2
Node Version
v18.18.1
What browsers are you seeing the problem on?
Firefox, Chrome, Safari, Microsoft Edge
Relevant log output
No response
Anything else?
This works fine when containerElements.accountCenter is not set. The UI will hide when you've disconnected, and appear when connected.
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:
Current Behavior
With the following onboard init configuration:
The UI for connected state is displayed whether you have any wallets connected or not.
Reproduction: https://github.com/KarandeepSWranch/sandbox-web3onboard
Expected Behavior
When you are not connected to any wallets, the UI should not display. It should discard and/or hide itself.
Steps To Reproduce
What package is effected by this issue?
@web3-onboard/core
Is this a build or a runtime issue?
Runtime
Package Version
v2.21.2
Node Version
v18.18.1
What browsers are you seeing the problem on?
Firefox, Chrome, Safari, Microsoft Edge
Relevant log output
No response
Anything else?
This works fine when
containerElements.accountCenter
is not set. The UI will hide when you've disconnected, and appear when connected.Sanity Check
The text was updated successfully, but these errors were encountered: