Re:Avoid 100vh on Mobile Web
by abdusco on Monday September 30, 2019 @04:01AM
(#21112746)
An easy solution is to add a height transition:
This will let you maintain the initial height with the address bar excluded, and won't let it change when the bar disappears. Steps timing function is to avoid costly layout calculations.
[ Parent
| on HN ]
Wouldn't this change after 16m 40s?
Re:Avoid 100vh on Mobile Web
by wereHamster on Monday September 30, 2019 @05:32AM
(#21113220)
Yes, that is true.
Increase to hours, days, or years as you feel appropriate for your audience. Unless the visitors spend days looking at the screen, they won't notice.