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
Signup: suspend Blackbox on inactive social-first screens
Both screens of the social-first signup stay mounted and are hidden via
CSS visibility stacking, so the challenge widget (which sets its own
visibility inside a closed shadow root) bled through onto the selection
screen and consumed a session before email was even picked.
Add a `suspended` flag to `useBlackboxProtection` (exposed as a
`blackboxSuspended` prop by `withBlackboxProtection`) and gate each
stacked `PasswordlessSignupForm` on its screen being active. `useBlackbox`
now sets loading when enabled after mount and clears blocking state when
suspended mid-challenge.
0 commit comments