lrInfiniteScroll icon indicating copy to clipboard operation
lrInfiniteScroll copied to clipboard

Update lrInfiniteScroll.js

Open orszaczky opened this issue 9 years ago • 5 comments

In my tests handler always evaluated to noop, so the function never got called. To get it working without an isolate scope, I used $apply() directly in the promise timeout function, which $eval()s its argument against the scope.

orszaczky avatar Oct 01 '14 05:10 orszaczky

sounds like a scope issue, plunker ?

lorenzofox3 avatar Nov 27 '14 01:11 lorenzofox3

lol, this is not what I call a running example. Seriously, what do you want me to do with a bunch of HTLM tags ? :) Add the javascript at least the basics to be able to see the problem (I don't need to see all your application), Just let the part of the code useful to reproduce the problem (remove the noise), for example: we don't need all the style attributes on the images tags

You'll see, often when people try to set up a real and clean plunker(or jsfiddle) to reproduce the issue...the issue disappear !

lorenzofox3 avatar Nov 28 '14 03:11 lorenzofox3

I had the same problem..

 <section class="gossip" lr-infinite-scroll="loadMore()">

doesn't load anything.

 <section class="gossip" lr-infinite-scroll="loadMore">

works perfectly (without ( ))

Maybe I have to try this PR, but actually, everything works at the moment - even if I don't understand why.

hirbod avatar Dec 17 '14 08:12 hirbod

I can confirm: this PR fixed my issues. Please merge it. Angular 1.3.0

hirbod avatar Dec 17 '14 08:12 hirbod

working absolutely fine.

wajih775 avatar Oct 14 '15 21:10 wajih775