Skip to content
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

Signing modal issues #5581

Merged
merged 4 commits into from
Jul 13, 2022
Merged

Signing modal issues #5581

merged 4 commits into from
Jul 13, 2022

Conversation

keianhzo
Copy link
Contributor

@keianhzo keianhzo commented Jul 12, 2022

Fixes #4810

We set the modals onClose callback to either onContinueAfterSignIn or closeDialog depending if the dialog needs to execute an action after signing or not but we never reset onContinueAfterSignIn. This means that if after showing a dialog that requires an action we show one that doesn't, the second one won't close as it will keep on calling the previous onContinueAfterSignIncallback.

This PR reverts a previous patch, resets the onContinueAfterSignIncallback after it's been called and fixes some component property types that are throwing warnings.

@SV-AndreiC I think it's worth revisiting these already closed issues. I've tested them but just in case:
#4695
#4367
#3886
#4810

Copy link
Contributor

@brianpeiris brianpeiris left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Nice catch.

@keianhzo keianhzo merged commit d1d1464 into master Jul 13, 2022
@keianhzo keianhzo deleted the signing-modal-issues branch July 13, 2022 10:26
@SV-AndreiC
Copy link

@keianhzo I have tested this on hubs.mozilla.com and was not able to reproduce any of the related issues.
I will update once this is pushed and tested on Hubs-Cloud.
Thank you for the fix.

@SV-AndreiC
Copy link

I can no longer reproduce this issue on the latest Hubs Cloud build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants