web-examples icon indicating copy to clipboard operation
web-examples copied to clipboard

Web3Wallet React App Can't Handle 2 Open Requests

Open Luzzotica opened this issue 1 year ago • 0 comments

This wallet: https://react-web3wallet.vercel.app/ Doesn't handle receiving 2 requests at the same time.

Current Behavior When sending a session request and an auth request at the same time, it starts showing the session request, then overwrites it with the auth request, and doesn't let me approve the session.

Expected Behavior Popup modals are queued so that I can approve/reject each one individually. This was I can approve an auth request and a session request at the same time.

I expect that most dApps, if they require auth, will want to setup the session and get authorization at the same time, so I don't expect this will be an uncommon occurrence.

Luzzotica avatar Feb 28 '23 20:02 Luzzotica