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

List of items initially not rendering (iOS) #173

Open
JeremyBradshaw7 opened this issue Jul 31, 2019 · 4 comments
Open

List of items initially not rendering (iOS) #173

JeremyBradshaw7 opened this issue Jul 31, 2019 · 4 comments

Comments

@JeremyBradshaw7
Copy link

JeremyBradshaw7 commented Jul 31, 2019

Since upgrading to RN 0.59.10, I'm finding quite often the list of items do not initially show at all, though space for them is taken up, but manually scrolling the container seems to make them suddenly appear. Anyone else with this issue and is there a workaround? Using version 0.2.9.
Problem on iOS only.

@JeremyBradshaw7
Copy link
Author

JeremyBradshaw7 commented Jul 31, 2019

Only workaround I've found is to scroll the container programatically on a timeout from componentDidMount (timeout can be 0, forces a render cycle after mounting).

Edit: this doesn't actually always work, issue is still occurring but less frequently.

No-one else with this issue? May have to drop this component if no resolution.

@JeremyBradshaw7 JeremyBradshaw7 changed the title List of items initially not rendering List of items initially not rendering (iOS) Sep 2, 2019
@alekstorm
Copy link

I have this issue as well.

@JeremyBradshaw7
Copy link
Author

No movement on this? Makes the component unusable.

@paulxuca
Copy link

paulxuca commented Dec 12, 2019

Solution is to add removeClippedSubviews={false} to the ListView/> component rendered.

https://stackoverflow.com/questions/44022857/listview-not-displayed-unless-i-scroll-on-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

3 participants