I have a side menu layout bug on mobile chrome, which is similar as the side menu examples of https://www.w3schools.com/howto/howto_js_sidenav.asp.
If you access the link above on mobile devices' chrome and open any one of the menu examples (screenshot 1). Then when you scroll up to hide chrome's address bar, there will be a blank gap on the bottom of the menu before you stop scrolling(screenshot 2)
The only way I can figure out is to add height: 100%; overflow: auto
to html
and body
. However this causes some other issues for me. Is there any other way to fix it?