我在我的一个项目中使用基于Angular.js的框架,UI-Grid无限滚动功能。我想使用无限滚动功能通过浏览器的滚动条而不是网格的滚动条来操作。请帮忙。
答案 0 :(得分:0)
You can disable browser scrollbar and set the ui-grid height to viewport height
add this css.
//main.css
body {
overflow:hidden;
margin:0px;
}
.grid
{
height:100vh;
}
View implementation at http://plnkr.co/edit/HXO0jQHCzfUiZzR0RiUW?p=info