react-native-big-list
react-native-big-list copied to clipboard
BigList Crashes With the placeholder prop set to true
On a list of contacts, loaded in the BigList, when the placeholder prop is set to true, on the first scroll itself the app crashes. No errors are seen on the console. I am using the expo client for Android.
However when the list is small in size with say a few records like 20 to 30 and the placeholder prop is set to true, one can see the gray-colored images upon scroll. Setting the placeholderImage for a small-sized list, loads the placeholder image too.
placeholder={true} placeholderImage={require("../../assets/images/heart-empty.png")}
So I think there is some memory leak happening for a list with a large number of items, and the props placeholder is not working. Please can anybody confirm this?
Looking forward to a fix for this as the blank screen on the fast scroll is a problem.
@hussainhaideri did you got any solution?
UPDATE 1- if it helps, please use
- placeholder={true}
- placeholderComponent / placeholderImage
ORIGINAL 1- had the same problem, was crashing on list of size 105, disabled both and now works fine. 2- was not using any component or image, any of the latter is required