Closed thekalinga closed 7 years ago
You can reproduce it easily if you use a mobile device.
Similar bug: open: http://echoesplayer.com/#/ and press end key, you scroll down but the is no load
hi @thekalinga this issue has been discussed before #67 . the suggested solution is to set a lower throttle value.
I set threshold to 10, still I have the same issue.
For some reason, I'm not getting it now (have refactored the code slightly, tho that's unrelated to the change at hand). :)
Will try it out for a while to see if I can reproduce it
I have faced this issue again today with a threshold
of 10
.
The issue is seen if the last scroll reaches the end of the scrollbar, i.e if the after the last leg of scrolling, if there is no more space left, the event is not being triggered.
If by off chance if there is some space left, it does trigger the scroll
event (which happens most of the time)
Again, threshold only delays the event trigger, meaning, the event should get published if you leave the mouse alone once it reaches the end. But that's not the case.
+1
I am also facing the same issue
Oh goody I hope this is working 🎉
If this works @orizens would you mind tagging a new minor release?
Version 0.5.0 is already available
On Mon, Apr 24, 2017, 19:13 Jarrett Croll notifications@github.com wrote:
If this works @orizens https://github.com/orizens would you mind tagging a new minor release?
— You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/orizens/ngx-infinite-scroll/issues/128#issuecomment-296723891, or mute the thread https://github.com/notifications/unsubscribe-auth/AA1oRKw9orJvz6RHXcCVgGUz8PEnJOaFks5rzMowgaJpZM4MPqL6 .
--
Oren Farhi CEO at Orizens.com Senior Front End Engineer & Consultant http://www.orizens.com
OK cool @orizens, I clearly have no idea how to track the release of a specific npm package. Your latest github version says 0.2
, the version in your package.json
on master
says 0.4.3
, then on npm it says your latest release is 0.5.0
as you say.
I've never published a npm package before, clearly something is escaping me :\
@jcroll just updated the repo's master to 0.5.0. npm is also updated to 0.5.0.
Hi,
I'm still experiencing this issue - when scroll reaches the end, there's no scrolled event.
Using release 0.5.1
Tried with version "ngx-infinite-scroll": "0.6.1" Parameters -- [infiniteScrollDistance]="2" [infiniteScrollThrottle]="100" or "10" or "50" [scrollWindow]="false" Facing same issue.. Success --
Failed --
is this working in any version?
Lower infiniteScrollThrottle e.g. 10 has some another issue. Multiple(Next --> next set of data) events are getting fire before consuming on UI..
Its working fine with version 0.5.2 .. added debounce attribute also. Thanks.. good plugin..
We need to check with latest version. for this issue..
i have the same issue , did you found a solution @orizens @thekalinga
I am definitely still experiencing this in 10.0.1.
Hello, I think I have found a little workaround that fixes this issue by setting the infiniteScrollThrottle to 0, and make your own throttling method.
So here's how I did it:
in the HTML side, use these attributes:
[infiniteScrollThrottle]="0"
(scrolled)="loadMore()"
on the other hand, in the ts file, make your own throttling condition in the loadMore() function:
loading = false;
loadingThrottle = 300;
loadMore() {
if (!this.loading) {
this.loading = true;
window.setTimeout(() => {
// your loading logic here..
this.loading = false;
}, this.loadingThrottle);
}
}
Hope this helps.
Scroll does not gets triggered if I scroll down to the bottom quickly. The event does not get triggered if I wait at the bottom of the page much beyond
infiniteScrollThrottle
. However, It gets triggered if I scroll up from the bottom of the page.But, if I scroll down slowly, the event is being triggered while I scroll down.
Here is the markup I have for the container div
Look at the screencast of the issue (Open image in a new window to see larger version of it)