Closed harry021 closed 3 years ago
Can you add listDataContainerStyle as a prop. I need to modify this.
Hello I've same problem, when the list has few items, it display small height, and cannot show all items
If author can add listDataContainerStyle as a prop, than we can modify it. i guess it will solve our problem.
As a workaround, change the style in index.js, flatListStyle. But it would be great if it is exposed. So I left it and when you rotate the phone it no longer fails. This happened to me on a moto Z3 play and a samsung S8
flatListStyle: { maxHeight: "85%", marginBottom:15 }
For one or two items it shows a default height. And leave a blank space at the end. If we have more items in the flatlist it adjust its height according to them.