Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
You can stop using user-scalable=no and maximum-scale=1 in viewport meta tags (lukeplant.me.uk)
11 points by smusamashah on Oct 14, 2024 | hide | past | favorite | 5 comments


The 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.


It 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.


width=device-width is actually redundant: https://news.ycombinator.com/item?id=36112889


I 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.


> 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.




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

Search: