ngInfiniteScroll - loadMore() method gets called on every mouse-scroll

前端 未结 7 930
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-02 12:13

Solution below on the comments.

Problem: My loadMore() method gets executed on every container\'s scroll.

Meaning: loa

7条回答
  •  不知归路
    2021-02-02 12:34

    I figured out the html format should be somewhat like this for nginfinitescroll to work. The addition of a dummy outer div with fixed height solved my problem

    Hope it helps somebody.

提交回复
热议问题