You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using SupaEmailAuth, the onToggleRecoverPassword callback is correctly invoked with true after tapping “Forgot password”. However, tapping “Back to sign in” does not trigger onToggleRecoverPassword with false. As a result, the parent widget remains in the “Recover Password” state (e.g., the screen title or other UI driven by this callback stays stuck on password reset).
Steps to reproduce the behavior, please provide code snippets or a repository:
Render SupaEmailAuth with both onToggleSignIn and onToggleRecoverPassword callbacks and drive parent UI state based on them.
Tap “Forgot password” to enter the password recovery flow.
Observe onToggleRecoverPassword (true) is called.
Tap “Back to sign in”.
Observe onToggleRecoverPassword (false) is not called.
Expected behavior
Tapping “Back to sign in” should invoke onToggleRecoverPassword(false), allowing the parent widget to update its UI and exit the password recovery state.