P
P
Pashchuk Ilya2017-02-11 16:55:22
css
Pashchuk Ilya, 2017-02-11 16:55:22

How to bypass auto block height change in mobile browsers?

Hello, we encountered such a problem in the mobile versions of google chrome when layout, I make a block with a height of 100vh, but in mobile chrome the address bar is resized automatically when scrolling, that is, the height of the screen without the address bar is initially taken, and when you scroll and address is removed, then the current height of the screen is taken, just because of this such an unpleasant shift to the bottom is always when scrolling, how did you fight?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Pushkarev, 2017-02-11
@AXP-dev

Alternatively - https://gist.github.com/scottjehl/1183357

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question