Skip to content

docs(input): scope the focus-zoom floor to iOS - #6407

Merged
cixzhang merged 1 commit into
mainfrom
cindyxz/spec-input-ios-floor
Sep 21, 2026
Merged

cixzhang merged 1 commit into
mainfrom
cindyxz/spec-input-ios-floor

Conversation

@cixzhang

Copy link
Copy Markdown
Contributor

Why

iOS focus zoom requires a 16 CSS px text floor, but other coarse-pointer platforms should retain the active theme's type scale. The family contract did not yet distinguish those outcomes.

What

Adds one implementation-neutral input-family decision: text-entry controls that carry the anti-zoom safeguard floor editable text to 16 CSS px on iOS, while Android and other non-iOS coarse-pointer environments keep theme sizing. This does not require unrelated controls to adopt a new floor.

Risk

Specification only. Runtime behavior is unchanged.

Testing

  • pnpm check:knowledge
  • pnpm vitest run packages/core/src/inputFontFloor.test.ts
  • Prettier
  • git diff --check

@vercel

vercel Bot commented Sep 21, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
astryx Ready Ready Preview Sep 21, 2026 4:43am UTC

Request Review

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Sep 21, 2026
@astracat-bot

astracat-bot Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

AI review status for this pull request.

Review status Updated
🔄 In progress (for maintainers only) Sep 21, 2026, 4:43 AM UTC

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved: the input-family contract now defines the 16 CSS px focus-zoom floor as an iOS-specific outcome and preserves theme sizing on non-iOS coarse-pointer platforms.

@cixzhang

Copy link
Copy Markdown
Contributor Author

/approve-spec 636a649

@github-actions github-actions Bot added the spec-auto-merge Auto-merge was enabled by the spec owner gate label Sep 21, 2026
@cixzhang
cixzhang merged commit 65c6718 into main Sep 21, 2026
31 checks passed
@cixzhang
cixzhang deleted the cindyxz/spec-input-ios-floor branch September 21, 2026 04:44
AKnassa added a commit to AKnassa/astryx that referenced this pull request Sep 26, 2026
Resolved conflicts:
- docs/families/input-fields.md: took upstream's reformatted adoption
  table (meta#6407 widened the Recorded exception column) and re-applied this
  PR's Typeahead row (`isLoading`, `changeAction`, ..., source busy |
  search lifecycle is component-owned), then ran prettier on the table.

BaseTypeahead.tsx and Typeahead.test.tsx auto-merged (picking up meta#6370's
searchSource invalidation during render).

This branch was successfully deployed

1 active deployment
Preview — 636a649b Deployed Sep 21, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot. spec-auto-merge Auto-merge was enabled by the spec owner gate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant