RSSAmplifier

jamieonkeys · Feb 5, 2021

Preventing zooming on mobile

0
Sign in to vote or save

This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.

I’m creating an HTML5 puzzle game and need to prevent mobile users from zooming in, either via double-tapping or pinching. Normally, for accessibility reasons, you’d not want to have this restriction. But in terms of the game it was making the user experience worse and even messing up geometric calculations the game makes to detect a ‘win’. If memory serves, what used to be sufficient was adding…

Read on /posts/preventing-zooming-on-mobile/

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.