4 ms·
According to your first link, there is no reason to disable zoom. This gives you the best of both worlds: <meta name="viewport" content="width=device-width
by xyby 11y ago
According to your first link, there is no reason to disable zoom. This gives you the best of both worlds:
<meta name="viewport" content="width=device-width">
It retains zoom and gets rid of the 300ms delay. At least in chrome, so the site says.
FF says this issue is "RESOLVED FIXED", so maybe they implemented it too:
https://bugzilla.mozilla.org/show_bug.cgi?id=941995 https://bugzilla.mozilla.org/show_bug.cgi?id=941995
I have that meta tag on all my sites and I just tested on Android and iOS: Clicking on links and other controls seem instant. And zoom works. Hurray!
- leephillips 11y ago"<meta name="viewport" content="width=device-width">" Which is just what I do. Disabling zoom is one of those nonsensical practices that spreads as web "developers" copy code from each other. I suppose there's a use case for it somewhere, but its main purpose is to remove choice and make sites harder to use. EDIT: Actually I also include the initial-scale as in the comment below.
- Shorel 11y agoI have <meta name="viewport" content="width=device-width, initial-scale=1.0">
- Steuard 11y agoHuh. I only have the initial-scale entry, and I think that my sites always show up with page width matching device width as a result. Is there something important that the extra width specification does that I'm missing?
- leeoniya 11y agoah excellent, went ahead and updated my properties :)