0

I created a test application using Yeoman/Angular.js and pasted a chunk load of HTML (responsive) to view it as a Chrome Packaged App (CPA). The page_height with all its content is more than the height of packaged application in full_screen mode.

There seems no way to scroll down the view (touch/mouse-drag) to see the content below. How do I add/enable scroll bar on a page? Shouldn't this be by default?

4

2 回答 2

4

有同样的问题。在您的 css 文件中,添加:

html {
    overflow-y: scroll;
}
于 2013-04-25T23:54:56.613 回答
0

另一个更顺利的解决方案如下:

body {
    margin:0;
    padding:0;
    overflow-y: hidden;
}
body:hover {
    overflow-y: scroll;
}

提琴手

参考

于 2015-08-03T10:05:27.000 回答