QR modal doesn't open after being closed
See original GitHub issueHow to reproduce:
Lib: @walletconnect/web3-provider
Version: 1.4.1
- call
await wcProvider.enable()
- modal opens
- click the
x
button on top right corner - modal closes
- call
await wcProvider.enable()
again - nothing happens
Issue Analytics
- State:
- Created 2 years ago
- Reactions:12
- Comments:8 (1 by maintainers)
Top Results From Across the Web
QR code modal doesnt open after closing once #747 - GitHub
I posted a workaround for the @walletconnect/core and @walletconnect/qrcode-modal packages but could likely be applied to the provider if you ...
Read more >Cannot open WalletConnect modal after closing it for the first ...
Having a strange issue where as the WalletConnect modal will not open if click on the “X” icon to close the modal when...
Read more >@walletconnect/qrcode-modal - npm
QR Code Modal for WalletConnect. ... Start using @walletconnect/qrcode-modal in your project by running `npm i @walletconnect/qrcode-modal`.
Read more >OPEN BOOTSTRAP MODAL AFTER SCANNING THE VALUE ...
I have a form that when the user scans their QR code into the scanner a modal will pop-out with their details. But...
Read more >After opening and closing modal, it won't open again
I wanted to work first on the modal, making sure It is displayed once you click on a div and then close after...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m working around this in the
@walletconnect/client
and@walletconnect/qrcode-modal
libraries. This is a pretty horrible hack, but works for now.It promisifies the connect call, and after the first call it invokes the open method on the underlying modal forcing it to be opened every time. To track closing it uses a MutationObserver and resolves with the users address.
@MrPeanutz @JOU-amjs @lanchana @JohnathanWhite @Noisyfox is this still an issue?