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

The mobile version differs from desktop on number of divs rendered #13

Open
gabrielhpugliese opened this issue Jul 10, 2015 · 1 comment

Comments

@gabrielhpugliese
Copy link

The desktop version on my resolution always mantain 24 <React-Infinity> components:
image

The mobile version grows indefinitely:

image

I've tested on my Nexus 4 + Chrome and the performance was much poorer than the desktop one. Maybe due to that.

@nmn
Copy link
Owner

nmn commented Jul 12, 2015

Thanks for the report. This was added mostly to combat the momentum scrolling on iOS. As iOS used to not fire any scroll events while the momentum scroll was happenning, keeping a large number of nodes was a way around the problem. I will revisit it with iOS 8 and see if I can reduce the number of nodes without too many downsides.

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