I have to build a navbar that slides from the right side of the screen. It has to cover the whole screen. The problem is that in mobile phones, browsers like chrome have this toolbar at the bottom, which hides some part of the page. Which is not feasible as I also have to display some contact information at the bottom.
The fix for this was using -webkit-fill-available. But, the css for my navbar and the hamburger menu row is :
.hamburger-row {
position: fixed;
height: 75px;
}
And for navigation menu div...
.nav-menu-div {
position: fixed;
height: calc(100vh - 75px);
}
But to introduce -webkit-fill-available, I have to do something like
height: calc(-webkit-fill-available - 75px);
which is not possible in css.
Is there any workaround?