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

Loading too much data initially and then 'going wonky' scrolling up #16

Closed
marknadig opened this issue Aug 18, 2015 · 3 comments
Closed

Comments

@marknadig
Copy link
Contributor

I'm a befuddled. In this simple example, the scroller is loading 7 "pages" worth of data initially and then when I scroll down the load one more page, scrolling up gets very confused, jumping from the 70's to the 50's to the 30's.

https://github.com/marknadig/ui-scroll-test/tree/master/forward-only

So, first questions.

  1. Why is it loading so much up front?
  2. Why after it gets another page of data after the intial load does scrolling up skip large swaths?

Related, I'm trying to make the scroller in this case forward-only so that it only loads fro index > 0. If I scroll down until it loads another page and then up to the very top, it starts making requests for very large indexes.
Last question: Is this even possible? If so, is this the right approach?

@marknadig
Copy link
Contributor Author

ui-scroll

@dhilt
Copy link
Member

dhilt commented Aug 19, 2015

It seems like a part of issue#8. The problem vanishes after removing of "float: left" style property on imageCell class... Looks like we have to reopen it.

@marknadig
Copy link
Contributor Author

@dhilt ah, thanks. Yeah, suggest just close this and re-open 8. Thanks for looking at it!

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

2 participants