-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
DataScroller: Lazy loading event 'first' property #153
Comments
Looks like a bug, being worked on. |
Oh, you mean going up, but the load is only called when going down with scroller. It should not be called when scrolling up to view already loaded elements. |
Here is a plunker that shows this behaviour. I guess my use case here is not actually infinite scrolling, but more just using it for the lazy loading of items in to the list. When the bottom of the list is reached, and no more items are available to be loaded in, then the scrolling exhibits this behaviour. It can also be reproduced by not adding any items to the list within the |
This seems like the expected behavior for me. |
Maybe I'm using this incorrectly, but when using the DataScroller with lazy loading, the
first
property of the event does not match that of the index of top visible row in the list when scrolling up (returning from the bottom of the list), the number just increases byrows
each time.For example, markup is
The
onLazyLoad
event handler just logs out the event.Is this the expected behavior? The demo does not seem to do this? Using version 0.9.1
The text was updated successfully, but these errors were encountered: