-
Notifications
You must be signed in to change notification settings - Fork 595
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: missing reloadOnDisconnect option passed in to WalletSDKRelay #764
Comments
Cannot reproduce this behavior. Do you have a demo/example where this behavior occurs? Working demo: https://codesandbox.io/s/complete-uw25vs const coinbaseWallet = new CoinbaseWalletSDK({
appName: APP_NAME,
appLogoUrl: APP_LOGO_URL,
reloadOnDisconnect: false
}); |
@taycaldwell your example works, but I've added an example where the issue is happening, since no wallet is found (none is connected, you might have to disconnect yours from codesandbox), calling disconnect refreshes the page. |
we have similar issues reported, so consolidating them into one for proper tracking. cc @vishnumad 🙏 |
Observing the same behavior when
|
Added related issue (#802) to keep on mind when fixing this bug. Without it the DApp will continue thinking it is connected. |
Fixed in #574 |
Describe the bug
I need to disable reload on disconnect behavior, so I set it to false in my code, but it didn't not work at all.
Steps
=> The page auto reload even I set reloadOnDisconnect to false.
Expected behavior
=> The page should not reload.
Version
3.6.2
Additional info
No response
Desktop
Smartphone
No response
The text was updated successfully, but these errors were encountered: