3 ms·
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 desi
by benaiah 14y ago
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.
- mikeash 14y agoWhat's the layout bug?
- benaiah 14y agohttp://webdesignerwall.com/tutorials/iphone-safari-viewport-scaling-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.
- jcomis 14y agoIt's fixed is iOS6 but here is an additional js fix for this bug: https://github.com/scottjehl/iOS-Orientationchange-Fix https://github.com/scottjehl/iOS-Orientationchange-Fix From Scott Jehl / Filament Group
- mikeash 14y agoThanks. 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.
- keeperofdakeys 14y agoWhat 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.