Answer the question
In order to leave comments, you need to log in
Should I abandon 100vh?
Faced with the fact that on iPhone Safari the lower part of the block goes beyond the edge of the workspace.
It turns out that 100vh is a very bad decision?
Do I understand correctly that it is better to make a block to the full height of the screen using other methods?
upd:
The application is single-screen, so you can't scroll down to the state where the bottom panel is hidden.
Answer the question
In order to leave comments, you need to log in
Try
https://css-tricks.com/the-trick-to-viewport-units...
or
body {
min-height: 100vh;
min-height: -webkit-fill-available;
}
html {
height: -webkit-fill-available;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question