Skip to content

fix: disable double-tap zoom on iOS Safari#23

Open
codecrumb wants to merge 1 commit intojuxtopposed:mainfrom
codecrumb:main
Open

fix: disable double-tap zoom on iOS Safari#23
codecrumb wants to merge 1 commit intojuxtopposed:mainfrom
codecrumb:main

Conversation

@codecrumb
Copy link
Copy Markdown

@codecrumb codecrumb commented Apr 10, 2026

On iOS Safari, double-tapping the screen triggers a zoom-in behavior which interferes with the clicking mechanic on touchgrass. Added touch-action: manipulation to the body style, which disables double-tap zoom while keeping all other touch behavior intact.

You can test the fix here:
touchgrasss.pages.dev

Before / after:
imgur.com/a/x6rnpeu

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 10, 2026

@codecrumb is attempting to deploy a commit to the juxtopposed's projects Team on Vercel.

A member of the Team first needs to authorize it.

@codecrumb codecrumb marked this pull request as draft April 10, 2026 00:20
@codecrumb codecrumb marked this pull request as ready for review April 10, 2026 00:23
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