android-Chrome地址栏未隐藏在滚动条上

前端之家收集整理的这篇文章主要介绍了android-Chrome地址栏未隐藏在滚动条上 前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

Android上的Chrome 71上,向下滚动网页时,浏览器将隐藏地址栏.这种情况发生在我检查过的大多数网站(Google新闻,英国广播公司,我们公司的网站等)上.

我无法在我的网站上使用它.无论我如何滚动,地址栏均保持固定.

即使当我回到基础知识上也不起作用:

<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>

为了使它正常工作,我需要做些特别的事情吗?

最佳答案
事实证明,如果您不使用https或页面上有任何https问题,则地址栏不会隐藏.我想这很有道理,因此用户始终可以看到页面存在问题.

猜你在找的CSS相关文章