3 ms·
You can stop using user-scalable=no and maximum-scale=1 in viewport meta tags
- deleted 2y ago[deleted]
- Brajeshwar 2y agoThe article is from 2023. And yes, the world did move on to using just `<meta name="viewport" content="width=device-width, initial-scale=1">` for a pretty long time.
- smusamashah 2y agoIt didn't, I posted this link out of frustration being unable to zoom into cool pics in some articles shared here on HN. In fact, most blogs/articles still have zoom disabled.
- lapcat 2y agowidth=device-width is actually redundant: https://news.ycombinator.com/item?id=36112889 https://news.ycombinator.com/item?id=36112889
- Brajeshwar 2y agoI think you are right. We should get rid of that whole line. If a user sets a specific zoom/scale of their choosing, let's just respect it and let it be.
- lapcat 2y ago> I think you are right. We should get rid of that whole line. That's not what I said. If you omit initial-scale=1, then sites looks terrible and unreadable on mobile.