-
Notifications
You must be signed in to change notification settings - Fork 94
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
Firefox issues #14
Comments
i have issue #2 on chrome as well... |
Same here. #2 especially kills the UX because the end-user (and myself 😁) won't understand why "nothing is happening". |
I don't have number 2 on chrome, I tried with the example. popup comes in focus just fine. Are you connecting the wallet through a click event? That might be something chrome is blocking if the popup wasn't created by the user somehow. Edit: popup comes in focus fine, when signing is requested. |
For me it happens when I try to sign a transaction immediately after connecting, without a user interaction in between, something like: const publicKey = await wallet.connect();
const trans = new Transaction().add(...);
const signed = await wallet.signTransaction(trans); |
@PaulBernier when sollet returns focus to parent through maybe the fix is to give back the focus to the parent before we |
I tried with a delay but it doesn't work. It seems it really needs the user to focus the parent window by a click for the pop up to come forward afterward. It could definitely be related to the way the pop up gives back focus to the main window as you mention. |
I am still stuck on this issue of the immediate second RPC call not bringing up the background popup (I tried a few hacks on the adapter side but none worked). What do you think of adding an extra parameter |
Don't we just need to reorder the calls? I might give it a go tonight. |
Mmmh i just gave it a go, |
I am still affected by 1. on firefox, that is quite annoying. I'll have another look soon. |
Any updates on this? This issue still seems to affect firefox |
The adapter on Firefox has a couple of usability issues that I've found so far.
Whenever you connect the wallet, or approve a transaction, a new empty tab is opened on the dApp window.
If you send an approval request from the dApp the wallet popup doesn't focus so you don't realize you need to perform an action on this popup as it's hidden behind the main window.
The steps to reproduce these issues are pretty simple, but if you have any question please let me know.
The text was updated successfully, but these errors were encountered: