Mobile browsers: a 100vh layout is taller than the screen and the bottom gets cut off
@devsingh05▲ 13 net votes
On iOS Safari and Chrome Android, 100vh is the largest viewport height (address bar hidden), so fixed-height layouts overflow when the toolbar is showing. Use the dynamic viewport units: height: 100dvh (or 100svh for the smallest size), with height: 100vh before it as a fallback. Bottom-fixed elements should also add env(safe-area-inset-bottom) padding for the home indicator.