Questions tagged [nginfinitescroll]

ngInfiniteScroll is a directive that you can use to implement infinite scrolling in AngularJS applications.

ngInfiniteScroll is a directive that you can use to implement infinite scrolling in AngularJS applications.

http://binarymuse.github.io/ngInfiniteScroll/

100 questions
3
votes
1 answer

AngularJS ngInfiniteScroll keeps firing as I scroll up

My upwards scrolling triggers my infiniteSubjects(). But it should only trigger it while scrolling downward. I've already looked into many posts but haven't figured out a solution. I've tried messing around with infinite-scroll-disabled. Also tried…
pyramidface
  • 1,097
  • 2
  • 16
  • 37
3
votes
2 answers

ngInfiniteScroll loadMethod invoke only once

$scope.images = [1, 2, 3, 4, 5, 6, 7, 8]; $scope.loadMore = function () { …
CSharpBeginner
  • 1,365
  • 4
  • 17
  • 31
3
votes
1 answer

What does infinite-scroll-immediate-check do in ngInfiniteScroll?

The documentation: infinite-scroll-immediate-chec (optional) - {boolean} - A boolean expression that indicates that the directive should check immediately to see if a scroll event would trigger an evaluation of the infinite scroll expression even…
Noah
  • 3,607
  • 7
  • 33
  • 50
3
votes
1 answer

ngInfiniteScroll is not working

I am trying to recreate a simple example of ngInfiniteScroll provided on their demo page. The loadMore() function never triggers and I do not know why. Here's the code: http://jsfiddle.net/uVxb8/3/.
2
votes
1 answer

Angular 4 with ngx infinite scroll

I am trying to add an infinite scroll with ngx-infinite-scroll in my Angular 4 project. The array data has about 800 posts which are from API. Initially, I want to display 20 posts and every single time the page is scrolled, it will display 20…
Jamille
  • 99
  • 1
  • 1
  • 11
2
votes
0 answers

How to make ngInfiniteScroll work? It keeps waiting

The problem I have is that it's never returning the list and I don't know why. It should return the list. Maybe I'm doing something wrong. Thanks! UPDATE: NOW it's working but turned my list to infinite. It always load the last item forever. Makes…
Pepper 92
  • 211
  • 1
  • 10
2
votes
2 answers

Why ngInfiniteScroll (infinite-scroll) doesn't work on mobile devices?

I've faced with problem that angular infinite-scroll doesn't work on mobile devices - tested on Xiaomi Redmi Note 4 and Samsung Galaxy 4. My code works correctly on PC and on IOS devices. Problem reproduces only on mobile devices. Maybe someone…
2
votes
1 answer

ng-infinite-scroll with ng-show and sticky states

I am new to angular. In my single page web app, I have two tabs with ng-infinite-scroll in each of them. The two tabs are traversed between using a nav-bar,
2
votes
1 answer

Infinite Scroll Distance - Angular 2

I am using Angular2 for my application. I understand that the syntax to use infinite scroll is:
But is there any way we can specify anything like "infinite-scroll-distance", in Angular2?
UnderWood
  • 663
  • 2
  • 10
  • 22
2
votes
0 answers

Trigger ngInfiniteScroll correctly when using a scrolling table

I have a table inside a bootstrap-modal which has overflow set to auto so that it scrollable. However I need to load a lot of data so I would like to implement lazy-loading using ngInfiniteScroll. I have tried using the infinite-scroll-container…
2
votes
0 answers

After scroll not calling load more function in infinite scroll

I'm developing application with Angular material. Same code work with angular application but does not work with angular material. Here is my controller code $scope.casesData = []; var casesData = {}; $scope.first = 0; $scope.last =…
2
votes
1 answer

Creating an infinite-scroll of meteor collection in angular-meteor

I'm trying to enable infinite scroll for an angular-meteor app I'm working on that draws objects from a meteor/mongo collection. I've adapted step 12 of the angular-meteor tutorial to use pagination for the app I'm working on, and now I'd like to…
aliigleed
  • 366
  • 2
  • 13
2
votes
1 answer

loadMore() is not being called on browser scroll in ngInfiniteScroll

I am trying to implement infinite scroll for my angularjs app. To get acquainted with the usage of ngInfiniteScroll I am using same example given in their demos page. It is not working for me, profile.ejs: