-
Notifications
You must be signed in to change notification settings - Fork 58
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
Fix/injected connector #817
Conversation
✅ Deploy Preview for tender-kalam-456245 ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
Still there are some problems - sometimes when user wants to connect coinbase wallet both of them are trying to connect and two popups are displayed. It occurs pretty often - either on the first try or as in the record below after connecting and disconnecting wallets. @karczuRF screen-capture.2.mp4 |
That's interesting, because I wasn't able to reproduce this. I can't see the problem. I'll wait then until someone else can confirm what you showed above. |
After computer restart there is no such bug - that is propably non reproductive error. For me looks good now, but would be perfect if some other QA take a deep look at this @MilanVojnovic95 @kingalg |
Found a new bug. @karczuRF For this testing I was using Brave browser. |
@MilanVojnovic95 thanks for testing! As I thought the problem you've found is because of Brave browser. Brave wallet "overrides" MetaMask and error occures, because action has to be done with Brave wallet, please see scr below. For Brave wallet the issue is already created and I'll handle that asap: #649 Until Brave wallet is implemented it's possible to use Brave browser with MetaMask by disabling Brave wallet as default option. I'll add temporary fix for that problem although I believe to solve all wallet related problems Brave and Tally wallets need to be implemented as well as package update, but it's another issue. |
Hey @karczuRF, what is the status of this PR? |
It's suspended, because of two things:
|
Current status changed to draft, because as it was discussed to best solution is to upgrade web3-react. Also no need to wait for Tally Wallet merge now. |
This will be closed with #1330. |
Summary
Fixes #624 #683 #699
Bug Description
Activation of the Injected Connector (which is used with MetaMask and Coinbase wallets) results in displaying pop-ups from both wallets at the same time when the user has both extensions installed. Activation of the Caoinbase wallet doesn't cause the problem.
More details can be found as the description of solved issues mentioned above.
To Test
the button in upper right corner and eg bridge button works as expected and open wallet list to be selected
connect manually with unsupported network (eg Kovan) - switching from unsupported to supported network (eg. Mainnet) works as expected
try any transaction, like swap - works as expected and correct wallet popup is shown
Try connect to the wallet again and Reject transaction.
Error modal should be shown
"Try again" button works as expected and allow to try again
Closing modal and trying to activate another wallet works as expected