Hi, so I have a page that has div (in the code below that's the one with grid class) that has attached ngscrollbars, and infinite scrolls works in the container as it should only if the container div bottom is below or really close to the bottom border of the window. When I scroll the window down completely, and the bottom of the container is higher than bottom of the window, the loading function isn't called anymore (getNextNews()).
So I tried the obvious one, disabling the ng-scrollbars, and then it works like it should, but I have to use that awful default scrollbar inside the container, which is kinda bad.
I'm probably missing something obvious, but I can't for the life of me figure it out right now.
Hi, so I have a page that has div (in the code below that's the one with grid class) that has attached ngscrollbars, and infinite scrolls works in the container as it should only if the container div bottom is below or really close to the bottom border of the window. When I scroll the window down completely, and the bottom of the container is higher than bottom of the window, the loading function isn't called anymore (getNextNews()).
So I tried the obvious one, disabling the ng-scrollbars, and then it works like it should, but I have to use that awful default scrollbar inside the container, which is kinda bad. I'm probably missing something obvious, but I can't for the life of me figure it out right now.