-
Notifications
You must be signed in to change notification settings - Fork 597
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 popup blocked on Safari #1294
Fix popup blocked on Safari #1294
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, just want to wait for @bangtoven to take a look
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for opening PR up. @arjun-dureja
happy to pair if you are down.
@@ -62,24 +62,10 @@ export class Communicator { | |||
}); | |||
}; | |||
|
|||
/** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we don't need to move this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I moved it down since it's the only private method in the class now
@bangtoven for sake of speed, maybe you should take over PR with the changes you want? Not sure what else @arjun-dureja has on plate today |
Summary
SCWSigner
. Safari blocks it because it is not opened immediately after a button is clicked.request
method so that it first opens the popup and then constructs the request. This is how it was done before this PRHow did you test your changes?
Screen.Recording.2024-05-19.at.6.20.56.PM.mov
Screen.Recording.2024-05-19.at.6.22.55.PM.mov