@entropy-softworks/ui 2026.8.40 → 2026.8.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -536,6 +536,25 @@ export function AuthScreen({
536
536
  const probeSignup = !probed;
537
537
  const showSignup = probeSignup || isSignup;
538
538
 
539
+ // Re-arm the probe if sign-up only becomes available LATER.
540
+ //
541
+ // `probed` starts at `!signUpEnabled`, which is right for a consumer that
542
+ // knows its registration policy at mount. One that has to ASK — Access's
543
+ // portal fetches the tenant's policy and starts at the conservative
544
+ // "closed" — mounts with sign-up off, skips the measuring pass, and then
545
+ // turns sign-up on a moment later with nothing measured. The first real
546
+ // toggle is then the one that grows the card: it resizes once, then holds
547
+ // still forever, which is precisely the symptom the lock exists to remove.
548
+ //
549
+ // Cheap and idempotent: the effect only fires on the false -> true edge, and
550
+ // for a consumer that was already `true` at mount this sets the value it
551
+ // already had.
552
+ useEffect(() => {
553
+ if (signUpEnabled && lockFormHeight) {
554
+ setProbed(false);
555
+ }
556
+ }, [signUpEnabled, lockFormHeight]);
557
+
539
558
  const onFormLayout = useCallback((e: LayoutChangeEvent) => {
540
559
  const measured = Math.ceil(e.nativeEvent.layout.height);
541
560
  setFormMinHeight((prev) => (measured > prev ? measured : prev));