How to prevent the browser from this behavior:
Hold down the mouse button and pull down and the site has this empty field

screenshot

Closed due to the fact that off-topic participants Air , andreymal , cheops , Edward , αλεχολυτ Jan 20 '18 at 16:31 .

It seems that this question does not correspond to the subject of the site. Those who voted to close it indicated the following reason:

  • “Questions asking for help with debugging (“ why does this code not work? ”) Should include the desired behavior, a specific problem or error, and a minimum code for playing it right in the question . Questions without an explicit description of the problem are useless for other visitors. See How to create minimal, self-sufficient and reproducible example . " - Air, andreymal, cheops, Edward, αλεχολυτ
If the question can be reformulated according to the rules set out in the certificate , edit it .

    2 answers 2

    I think that should help any of the following options, but I can not verify:

    1. Make sure that the body is always the size of the screen (and even half a pixel from there nothing climbs)
    2. Set background for body
    3. Specify -webkit-overflow-scrolling: auto
    • No, 1 because I have a landing for example, 2nd - because the color of the footer is red and the header is white, 3 - just does not fit - Andrey Fedorovich

    He subsoiled the solution as it is done in https://web.telegram.org/#/im

     body { overflow: hidden;} 

    But it only works if all content is less than 100vh.