Re:WTF – A personal information dashboard for your terminal
by andai on Wednesday August 28, 2019 @08:41AM
(#20819167)
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
[ Parent
| on HN ]
Re:WTF – A personal information dashboard for your terminal
by austinjp on Wednesday August 28, 2019 @09:17AM
(#20819435)
It's my understanding that this HTML is (mis)used to reduce tap-delay on mobile devices:
https://stackoverflow.com/questions/6397748/whats-the-point-...
That's doesn't excuse it, of course.
I think it's boilerplate that ends up pasted into a lot of websites.
Re:WTF – A personal information dashboard for your terminal
by iaml on Wednesday August 28, 2019 @09:13AM
(#20819409)
I have no clue why people downvote you, as this is exactly the reason this page is not zoomable. In my humble opinion people doing stuff like this should be forcefully separated from the process of creating web sites.
Re:WTF – A personal information dashboard for your terminal
by debaserab2 on Wednesday August 28, 2019 @09:57AM
(#20819777)
There’s reasons for doing it, though. For example, iOS Safari likes to zoom past 1.0 slightly when focusing an input and doesn’t zoom back out to 1.0 when unfocused. This often leaves users in a slightly zoomed in state which means they can easily miss right side aligned buttons and content. Setting the maximum scale to 1 in the viewport prevents this.