使用前端路由防止iOS chrome状态栏重新出现

时间:2018-03-28 14:11:27

标签: javascript ios google-chrome single-page-application

使用反应路由器处理反应前端应用程序 - 想知道是否可以使iOS状态栏出现在新的前端路由更改上。enter image description here enter image description here

1 个答案:

答案 0 :(得分:1)

AFAIK选择退出隐藏和在移动浏览器中显示UI的唯一方法是防止身体完全滚动:将整个网站放在position: fixed; top: 0; bottom 0容器内并在其中滚动。我写了一些关于它的更多信息here