Full Screen Menu being cut on mobile browsers #27550
jacksonhall19
started this conversation in
Feature Request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Prerequisites
What problem is your feature request going to solve? Please describe..
Hello -
I'm using a popup as a website menu. It works fine in full screen mode, however on mobile, it's being cut once the mobile browser footer goes away on scroll.
Describe the solution you'd like.
Is there a fix that can be applied to fix this issue please?
Describe alternatives you've considered.
I've used the following CSS and it resolves the issues on Chrome/Safari, however the issue still persists in other mobile browsers such as built in application browsers so this is not a reliable solution.
Code Below
.popup-open body { overflow:hidden }
html {
min-height: 100vh;
min-height: fill-available;
min-height: -webkit-fill-available;
min-height: -moz-available;
}
body{
min-height: fill-available;
min-height: -webkit-fill-available;
min-height: -moz-available;
}
Additional context
No response
Agreement
All reactions