Hi there, I’ve implemented infinity scroll successfully. Works great, however if the list of content does not reach the bottom of my screen and total items have not finished yet, my loading circle is always being displayed.
For example: If I’ve got 10 registers in a list (Total) and I’ve set up my infinity scroll to load 5 items per request and those first 5 items don’t reach the end of my screen (bottom) my loading scroll is displayed until I scroll down again and loads more (in order hide under the limit of page), or finish my list (Where I fire a NO MORE ITEMS event).
Extra: I’ve included: $scope.$broadcast(‘scroll.infiniteScrollComplete’); and it’s being received on ionic.bundle.js with no problems. (I’ve also found out that there’s a $element.classList.add(‘active’); when scroll start and a $element.classList.remove(‘active’); for the broadcast set. But scroll won’t disappear.
Any suggestion? Thanks very much!