Skip to content

fix(mobile): prevent search-focus zoom + show results above the fold#40

Merged
dineshbyte merged 1 commit into
developfrom
fix/mobile-search-zoom-and-results-visibility
Jun 24, 2026
Merged

fix(mobile): prevent search-focus zoom + show results above the fold#40
dineshbyte merged 1 commit into
developfrom
fix/mobile-search-zoom-and-results-visibility

Conversation

@dineshbyte

Copy link
Copy Markdown
Owner

Two mobile search issues on the hub:

  1. The search input was font-size .86rem (~14.6px). Any input under 16px makes iOS Safari auto-zoom on focus, and the zoomed page then pans left/right. Set the input to 16px on phones (<=640px) so focus no longer zooms.

  2. run() hid the card grid + filter chips during a search but left the .hero banner and .whatis intro band on screen, so results were pushed below the top banner and looked broken on mobile. Hide .hero and .whatis during an active search (restore them when the query is cleared) so results render directly under the search bar.

What & why

Checklist

  • node scripts/check-broken-links.cjs passes
  • node scripts/validate-content.cjs passes
  • New/renamed pages added to docs/sitemap.xml

Two mobile search issues on the hub:

1. The search input was font-size .86rem (~14.6px). Any input under 16px makes
   iOS Safari auto-zoom on focus, and the zoomed page then pans left/right.
   Set the input to 16px on phones (<=640px) so focus no longer zooms.

2. run() hid the card grid + filter chips during a search but left the .hero
   banner and .whatis intro band on screen, so results were pushed below the
   top banner and looked broken on mobile. Hide .hero and .whatis during an
   active search (restore them when the query is cleared) so results render
   directly under the search bar.
@dineshbyte dineshbyte merged commit 0d5f53a into develop Jun 24, 2026
3 checks passed
@dineshbyte dineshbyte deleted the fix/mobile-search-zoom-and-results-visibility branch June 24, 2026 17:15
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