SIGN IN SIGN UP

fix(modal): restore React mount reset after unmount (#2664)(by @huextrat)

unmount() must call setState(INITIAL_STATE) when the portal was
mounted. v5.2.11 checked statusRef after resetVariables(), which
always left status INITIAL, so the condition never matched and
mount stayed true—later present() could snap the sheet open again.

Made-with: Cursor
H
Hugo Extrat committed
03a215c9751f87383dde223d4fa01bf1c04fe2da
Parent: ef980bc
Committed by GitHub <noreply@github.com> on 4/30/2026, 8:50:55 AM