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

Dolphin Lite

but also happens on default android browser (Android 2.3)

It happens in a lot of sites, I wonder what it is that people do that cause that.



This is the line that does it:

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


Is this fixed in later versions of Android?


What's there to fix? The tag says "you cannot zoom this site to levels less than 1.0 or more than 1.0", the browser complies. I'm not proud of it, but I've used this very approach to fix a stupid bug in iOS Safari - rotating the device without this zoom lock changed the zoom in ridiculous ways.


Why should that stop you from scrolling the screen?


That tag can stop you from scrolling sideways because it also says "the width of this document should be the same as the width of the device", killing all horizontal scrolling. It shouldn't affect vertical scroll though, unless height is constrained through some other styling rules.


Aka, the <fuckyou> tag, which is the standard for declaring that the designer cares more about how it looks on their own machine than letting readers consume the content


Some of it may be explained by early editions of the HTML5 Boilerplate "best practices".

See: https://github.com/h5bp/html5-boilerplate/blob/ed906cfb1b429...


Ah, I wonder if that's why I can't scroll with the keyboard in Firefox.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: