Closed GMaxera closed 8 years ago
Sorry, I can't find a way to properly format the html snippet :-(
I found a solution by myself. I saw that the in-view is update if I trigger the 'checkInView' event. So, everytime I update the streamResults I'll fire the 'checkInView' event ... and I get my expceted results.
great! good job
Hello, thanks for your directive. I'm using on my website and I found that the callback is not triggered in the case the element change it's visibility because has been moved down by a dynamic ng-repeat.
This is the code of my website:
The streamResults array change due to ajax request and increase of its size gradually. So, suppose the following scenario:
At this moment, if I scroll the browser windows even of 1 pixel then the inViewChange will be called with $inview == false
Is it a bug ... or I'm doing something wrong on using in-view ?