sroze / ngInfiniteScroll

Infinite Scrolling for AngularJS
http://sroze.github.com/ngInfiniteScroll/
MIT License
2.89k stars 723 forks source link

Unable to use for a particular div in a page #246

Open aravindnet opened 8 years ago

aravindnet commented 8 years ago

i am trrying to use this directive for particular div in ap age instead of window then its not working

rasmuslp commented 8 years ago

Have you tried specifying a container with the infinite-scroll-container attribute?

aravindnet commented 8 years ago

yeah. itried but infinite scroll function is keep getting called always

mudassir0909 commented 8 years ago

@aravindnet https://github.com/sroze/ngInfiniteScroll/issues/258#issuecomment-188188837

umair-khanzada commented 8 years ago

@aravindnet: I am facing too that issue. after lot of googling didn't found any solution then i change my css and it's working for me. i remove the css " height " property and then it's working for me.

aravindnet commented 8 years ago

cool..... could you paste your code snippet here

On Thu, Mar 3, 2016 at 7:24 AM, Umair Ahmed notifications@github.com wrote:

@aravindnet https://github.com/aravindnet: I am facing too that issue. after lot of googling didn't found any solution then i change my css and it's working for me. i remove the css " height " property and then it's working for me.

— Reply to this email directly or view it on GitHub https://github.com/sroze/ngInfiniteScroll/issues/246#issuecomment-191760354 .

umair-khanzada commented 8 years ago

yes sure.

Html <div class="container-fluid your-class" infinite-scroll='yourFunction()' infinite-scroll-disabled='busy'>

css before when i am facing issue. .your-class{ background: #E6E7E8; height: 100vh; //vh = view height }

css after. .your-class{ background: #E6E7E8; //height: 100vh; //vh = view height }

work for me.

aravindnet commented 8 years ago

Thanks for sharing it

On Sat, Mar 5, 2016 at 1:05 AM, Umair Ahmed notifications@github.com wrote:

yes sure.

Html <div class="container-fluid your-class" infinite-scroll='yourFunction()' infinite-scroll-disabled='busy'>

css before when i am facing issue. .your-class{ background: #E6E7E8; height: 100vh; //vh = view height }

css after. .your-class{ background: #E6E7E8; //height: 100vh; //vh = view height }

— Reply to this email directly or view it on GitHub https://github.com/sroze/ngInfiniteScroll/issues/246#issuecomment-192600500 .

umair-khanzada commented 8 years ago

can it work's for you ?

aravindnet commented 8 years ago

we taken other plugin to implement infinite scroll in our app. i am not working on this now

On Mon, Mar 7, 2016 at 3:34 AM, Umair Ahmed notifications@github.com wrote:

can it work's for you ?

— Reply to this email directly or view it on GitHub https://github.com/sroze/ngInfiniteScroll/issues/246#issuecomment-193180225 .

umair-khanzada commented 8 years ago

okie. can you try it in a demo app ? if not so please try it.

rajibbrunel commented 8 years ago

@aravindnet can you tell me which plugin you are currently working