Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(infinite-scroll): load more data if needed
detect if more data needs to be loaded after the initial load. Before if not enough data was loaded to enable scrolling, no more data would be loaded. Resolves issue [4363](#4363)
- Loading branch information
65a541f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When the end of the data stack is reached or when the initial data stack is empty or not long enough to need infinite scrolling, these lines trigger an incredible amount of
needLoadMoreData()
calls.The angular app then hangs.