My Commentary
Here's a video of me scrolling up and down to show and hide the
footer on my phone (Brave 1.73.91 on Android 15; Google Pixel 7)
(Open)
Welp, I guess we just have to live with it and if anyone asks, I'll
need to explain that browsers get the last word on how pages render.
But wait a second, there's yet another solution. And this one
actually makes sense: set the page height using
dvh
units (MDN Docs)
It seems like exactly what we want: a unit of measure that considers
browser chrome.