Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Really cool game, but please please fix the viewport to prevent accidentaly zooming on the page on a mobile device!


And while you’re at it fix it so you can’t do a text selection of the game area. I’m having both zooming and selection happening and they make it unplayable.


I can reproduce a zoom on an iPad Safari when double tapping. Updated with a fix to prevent default double click events. It fixes on my environment.


Yes. And it’s so easy:

`<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">`


It has something like that already[1]. I'm curious what's wrong with that.

1. https://github.com/kevinAlbs/SphericalSnake/blob/b907738476d...


Presumably it has to be “no” instead of “0”




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: