PWA application in fullscreen mode defined in manifest has bigger page height than viewport size. It does not depend on the content of the page and persists even on a blank page. This causes an extra overscroll to appear on the page and "position: fixed" elemets to move up and down with the scroll. Is there any way to fix it?
I also found exactly the same topics on stackoverflow, but there is still no solution:
This behavior appeared recently and is reproduced with chrome version 114.0.5735.130, Android 9, Redmi 6A Build/PPR1.180610.011
Removing chrome updates in app settings fixes the problem, but the preinstalled Chrome version is 80.0 and it is too old.
It worked for me with several Android devices:
fullscreen
with standalone
:display: "standalone"
document.documentElement.requestFullscreen()
NB: The little drawback with that solution is that it requires a recent user interaction with the app.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With