Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Chrome address bar not hiding on scroll

On Chrome 71 on Android, when scrolling down a web page, the browser hides the address bar. This happens on most sites I check (Google news, bbc, our company site etc).

I can't get this to work on my site. The address bar stays fixed no matter how I scroll.

Even when I strip back to the basics it doesn't work:

<html>
<head>
</head>

<body>
    <div>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
        <p>Test Text Test Text</p>
    </div>
</body>

</html>

Is there something special I need to do to get this to work?

like image 687
Si-N Avatar asked Jan 27 '23 19:01

Si-N


1 Answers

It turns out the address bar will not hide if you are not using https or have any https issues on your page. Makes sense I guess, so the user can always see there are issues with the page.

like image 74
Si-N Avatar answered Jan 31 '23 08:01

Si-N