Skip to content

fix(input): prevent validation layout shifts - #165

Closed
hruilabs wants to merge 1 commit into
starc007:mainfrom
hruilabs:codex/fix-input-error-layout-shift
Closed

fix(input): prevent validation layout shifts#165
hruilabs wants to merge 1 commit into
starc007:mainfrom
hruilabs:codex/fix-input-error-layout-shift

Conversation

@hruilabs

Copy link
Copy Markdown
Contributor

Summary

  • add an opt-in reserveErrorLine row to Input so one-line validation feedback does not move nearby controls
  • enable the stable row in the Input preview and Sign Up Form fields
  • preserve the existing compact Input layout by default, including alert and aria-describedby behavior

Verification

  • bun test tests/input.test.tsx tests/signup-form.test.tsx
  • bun run check

@hruilabs hruilabs closed this Aug 28, 2026
@hruilabs
hruilabs deleted the codex/fix-input-error-layout-shift branch August 28, 2026 02:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant