-
-
Notifications
You must be signed in to change notification settings - Fork 131
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
Loader with custom scrollable never fires #126
Comments
@hhff This is a regression that broke with |
yup. @mariuszzak can you take a look here? |
One thing that did change (which affected us) was |
I believe I have found the issue... |
thats @jimmay5469 ! yup correct - it's been on my todo list to fix for sometime now... I would really love a PR for it! |
PR submitted! Hopefully it helps! |
@mariuszzak
I had to change the following lines in https://github.com/hhff/ember-infinity/blob/master/addon/components/infinity-loader.js to make this work how I expected:
Maybe I'm missing something, but adding this.get("_scrollable").scrollTop() to the top position is unnecessary. Returning only this.$().position().top, in case when there is a custom scrollable item defined, is enough. In the current code _selfOffset is always bigger than _bottomOfScrollableOffset, if the loader is not in the view.
The text was updated successfully, but these errors were encountered: