Hacker News new | past | comments | ask | show | jobs | submit login

While it is inexcusable to do this as a web developer, there is a layout bug in Mobile Safari to which this is the easiest and sometimes only solution. The designers aren't disabling zooming because they hate people who zoom, just because they're inconsiderate of them.



What is more annoying is that using an Android device, which doesn't have this bug, you suddenly can't zoom either. Now that this is fixed in iOS, it will take a long while for sites to re-enable it. It's very unfortunate that web developers needed to disable features on all platforms to work around a bug in one.


What's the layout bug?


http://webdesignerwall.com/tutorials/iphone-safari-viewport-...

Essentially, when you rotate the device to landscape, it doesn't correctly reset your view the content, so you end up zoomed in.


It's fixed is iOS6 but here is an additional js fix for this bug: https://github.com/scottjehl/iOS-Orientationchange-Fix

From Scott Jehl / Filament Group


Thanks. I think I've run into that before (as a user), but just didn't think about it. Seems better to just make the user zoom back out than to disable zooming altogether, in any case.




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

Search: