Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Throttle scrollListener #22

Closed
jabacchetta opened this issue Jul 20, 2016 · 2 comments
Closed

Throttle scrollListener #22

jabacchetta opened this issue Jul 20, 2016 · 2 comments

Comments

@jabacchetta
Copy link

jabacchetta commented Jul 20, 2016

Would be nice to have a throttle option for the scrollListener function (limit firing of the event). Could probably pull most of the code from underscore.

@danbovey
Copy link
Owner

It would be nice but I'm gonna say it's out of scope of this simple infinite scroll package because I like the fact it doesn't dictate how you have to loads items. It doesn't depend on it's own XHR library, so it shouldn't throttle the function that you're meant to write to load your items using your app's existing way of loading things.

@duhaime
Copy link

duhaime commented Nov 8, 2022

Can this thread be reopened? It's come up several times and would be great to save the JS cycles that trigger on scroll...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants