Alessandro Santamaria

Results 18 comments of Alessandro Santamaria

@s-yadav I implemented exactly as in the codepen, also tried it with overflow:auto div. but i can't get `infinite-scroll="vm.loadMoreShots()"` to fire when my grid is scrolled to the bottom.

@acondiff Yes, I used almost exactly the same setup like in the codepen, just with my own backend. When I refresh the page, the first 10 results (Page 1) are...

After updating, it sends the request when scrolling, but it doesn't work as expected yet: ![ag-is](https://cloud.githubusercontent.com/assets/14333479/12926560/5580113a-cf64-11e5-9316-aca51f3f0278.png) Why is it sending requests for page 1 (1.json) again, directly after it requests...

HTML: ``` ``` Controller: ``` // Infinite Scroll Feed var vm = this; vm.page = 0; vm.shots = []; vm.loadingMore = false; vm.loadMoreShots = function() { console.log("Trying to load more...

I changed my layout a little bit, now I have a``, added ag-scroll-container="#content scroller". but now i get this: ![ag-is](https://cloud.githubusercontent.com/assets/14333479/12931877/2e5ddaa8-cf80-11e5-8633-4509a7f8e403.png)

actually I have `ag-scroll-container="#content-scroller"` in my code, just forgot it here because I wrote it instead of copy pasteing it. Same problem ..

Ok, writing it like: `ag-scroll-container="'#content-scroller'"` with two extra `'` solved this error, but then I get the same result as before (Page 1 shows up, but when scrolling everything disappears,...

I found the problem: `` - without ng-include it works. Do you know why?

Either Upgrade Angular to Version 5, or downgrade the ng2-dnd npm package, like nachagarrone mentioned. How to downgrade: `npm uninstall ng2-dnd --save` `npm install ng2-dnd@^4.0.0 --save`