2FA Modal appears behind PasswordReset Modal
Summary
The 2fa modal appears beneath the "Create a new password" modal (ResetPasswordModal).
Steps to reproduce
- reset your password by getting a link (mail)
- Click on the link on mobile
- notice that you'll see the "Create a new password" modal but if you enter a new Password the button will stay in an inProgress state because it's waiting for 2FA to complete but the 2fa has appeared behind that modal. And if you dismiss the modal by swiping down you'll see the 2FA modal
Platform information
All
App version
All
What is the current bug behavior?
2FA modal appears behind "reset password/create new password" modal
What is the expected correct behavior?
2FA should appear on top of everything else
Relevant logs and/or screenshots
(With the fix at #4339 (closed))
without the fix (latest build)
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)
Edited by Manish