Skip to content

fix: prevent iOS auto-zoom on form inputs#94

Merged
wizzomafizzo merged 1 commit into
mainfrom
fix/ios-input-zoom
Apr 18, 2026
Merged

fix: prevent iOS auto-zoom on form inputs#94
wizzomafizzo merged 1 commit into
mainfrom
fix/ios-input-zoom

Conversation

@wizzomafizzo

Copy link
Copy Markdown
Member
  • Remove text-sm (14px) from the search inputs in TagSelector and SystemSelector and the <select> in SimpleSystemSelect — these were triggering iOS Safari/WebView auto-zoom on focus.
  • Add font-size: 16px baseline for input, textarea, and select in @layer base of index.css to guard future inputs from the same regression.

iOS auto-zooms any form control with a computed font-size below 16px. All wui/TextInput usages were already safe (no explicit size class, inherit 16px); the three components above were the only at-risk elements.

- Remove text-sm (14px) from TagSelector, SystemSelector, and
  SimpleSystemSelect inputs so they inherit the 16px browser default
- Add defensive font-size: 16px baseline in @layer base to guard
  future inputs against the same regression
@coderabbitai

coderabbitai Bot commented Apr 18, 2026

Copy link
Copy Markdown

Warning

Rate limit exceeded

@wizzomafizzo has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 6 minutes and 28 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 6 minutes and 28 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 2fdd0b70-c54e-42cd-bba7-e24b39ff983d

📥 Commits

Reviewing files that changed from the base of the PR and between 0269b7d and 2d2f937.

📒 Files selected for processing (4)
  • src/components/SimpleSystemSelect.tsx
  • src/components/SystemSelector.tsx
  • src/components/TagSelector.tsx
  • src/index.css
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/ios-input-zoom

Comment @coderabbitai help to get the list of available commands and usage tips.

@wizzomafizzo
wizzomafizzo merged commit 7e364ae into main Apr 18, 2026
5 checks passed
@wizzomafizzo
wizzomafizzo deleted the fix/ios-input-zoom branch April 18, 2026 02:14
@codecov

codecov Bot commented Apr 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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