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

Jerky / Jumps around when using.. #48

Open
mattwoberts opened this issue Jun 22, 2022 · 4 comments
Open

Jerky / Jumps around when using.. #48

mattwoberts opened this issue Jun 22, 2022 · 4 comments

Comments

@mattwoberts
Copy link

Hi

Anyone else finding that this component can be quite jerky, and it jumps around when you're using. I've got a video from the simulator here - 249 countries. I just click on the "U" to go there, and you can see it's jumping and struggling with this. Then I move around a little bit and you can see the header bouncing a bit and basically not coping very well.

It's worse on the simulator, on the actual device it's faster but still has the same jumping / stuttering / jerky issues...

Simulator.Screen.Recording.-.iPhone.13.-.2022-06-22.at.11.05.36.mp4
@Beltarm
Copy link

Beltarm commented Aug 11, 2022

were you able to fix it?

@iamgraeme
Copy link

@mattwoberts Were you able to fix this?

@iamgraeme
Copy link

Anyone else looking for a solution for this
initialNumToRender={100} maxToRenderPerBatch={500} updateCellsBatchingPeriod={10} windowSize={400}
You'll need to change the values based on your list...

@JCharante
Copy link

And btw, those props get passed down from AlphabetList to SectionList (initialNumToRender) and it's a child class of VirtualizedList (maxToRenderPerBatch) so you don't need to create a fork or anything (which is what I was starting to do). Just adding initialNumToRender and maxToRenderPerBatch fixed it perfectly for me.

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

4 participants