-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
Negative index issue #37
Comments
@dabcat Thanks for the issue! Preventing negative indexes is the When a In the Different item heights demo we have an example of limited callback-based
The |
@dhilt Thanks for prompt reply! Seems like there is a bug when using Observables instead of promises, it wont trigger datasource again when reaching end of list:
So to clarify, scrolling down should load new results but scrolling up shouldn't once index is less or equal to zero. |
@dhilt not a bug, my mistake... sorry! should return empty stream instead of empty array:
Thanks for the help, much appreciated! 👍 |
@dabcat The returning array should be an observable too, so you can't just return
Also, I think, a following workaround should work:
The Also, you may move all negative logic from Client to Server. Server may return an empty array. |
Thanks for module, it's been exactly what I was looking for. One issues that I'm having:
I'm using v0.0.4-rc.1
The text was updated successfully, but these errors were encountered: