Skip to content Skip to sidebar Skip to footer

Flatlist React Native 0.60 Android Blank And Freezes

Final Update I'm answering my own question. See answer below. Update of Update Still no luck even after I fixed the issue with this.state.updating. Apparently there is more than on

Solution 1:

Ok, sorry, there is no way anyone else could have answered this because I did not post my stylesheet and it had to do with the stylesheet. I was not expecting that or I would have added it into the original question. So here's the answer:

Apparently it is not ok to have items with flex: 1 inside a FlatList (or any other component) at the same time as the page it's on also has flex: 1 for the main View containing everything if you are using RN at or above 0.60.0 on Android. It's ok on RN below 0.60.0 on any platform and ok with any version of RN in IOS. On RN >= 0.60.0 on Android the component will just appear briefly, then disappear, or not appear at all. It will not give you any kind of an error message though.

Post a Comment for "Flatlist React Native 0.60 Android Blank And Freezes"