3 ms·
I'm interested in the tech behind this. Most javascript game stuff I've tried on my iPhone have had issues because of safari "helpfully" scrolling or zooming or
by mysterydip 5y ago
I'm interested in the tech behind this. Most javascript game stuff I've tried on my iPhone have had issues because of safari "helpfully" scrolling or zooming or showing the address bar when tapping or swiping. This one doesn't seem to do that for me. What's the trick?
- gregsadetsky 5y agoThe css directives here are probably a part of the answer: https://github.com/oklemenz/PrinceJS/blob/master/assets/web/game.css https://github.com/oklemenz/PrinceJS/blob/master/assets/web/... And also see the <meta name="viewport" ... values in the page itself.