Closed cromefire closed 2 months ago
correct - immediateCheck
is not implemented.
achieving the task you describe in Context requires some thorough discussion.
ng-infinite-scroll always executed (fired the output) until the scroll distance was exceeded. A similar approach would work here I believe.
The alternatives aren't great:
Any update here?
Your issue may already be reported!
Expected Behavior
With
immediateCheck
it should trigger directly on load (if there are not enough items)Actual Behavior
It seems that
immediateCheck
isn't even wired up to do anything: https://github.com/orizens/ngx-infinite-scroll/blob/7dc71e98ab3669090b2e6ec40d717938b9cfa02b/src/modules/infinite-scroll.directive.ts#L33Possible Solution
It should be wired up (again?) and/or there should be a way to trigger it manually
Steps To Reproduce / Demo (if applicable)
[ ]
Please share a stackblitz or plunkr demo reproducing this issueContext
The list I load it not long enough by default (depending on screen size) and it should be extended once it's loaded
Your Environment
8.2.7
and infinite-scroll8.0.0
71
and Chromium76