本文介绍了Mobile-Chrome-App无法滚动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我也有这个问题.我正在使用Ubuntu,刚刚完成了Hello world教程.我写了一些文字,我无法滚动.我可以看到单词继续前进的地方,但我尝试过的任何内容都无法使它滚动.我尚未进行任何HTML/CSS编辑.我只在<p>标记中添加了更多文本.

I also have this issue. I am using Ubuntu and just completed the Hello world tutorial. I wrote some more text and I am unable to scroll. I can see where the words keep going but nothing I have tried lets it scroll. I have not made any HTML/CSS edits. I have only added more text to the <p> tag.

推荐答案

有一些默认的CSS应用于chrome打包的应用程序.在CSS中添加以下内容应重新启用滚动功能:

There is some default CSS applied for chrome packaged apps. Putting the following in your CSS should re-enable scrolling:

html {
  overflow-y:scroll;
}

有人正在整理一个很酷的指南,其中可能包含更多提示.参见 https://gist.github.com/maicki/7622137#scrolling

Someone is putting together a cool guide which might have some more tips. See https://gist.github.com/maicki/7622137#scrolling

这篇关于Mobile-Chrome-App无法滚动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-06 02:15