其他分享
首页 > 其他分享> > 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问题,则地址栏不会隐藏.我想这很有道理,因此用户始终可以看到页面存在问题.

标签:google-chrome,css,browser,android
来源: https://codeday.me/bug/20191211/2106636.html