Snack: https://snack.expo.io/@mr3mo/snack-flatlist
I am trying to render a screen where it will show various graphs and one or more tables. The screen needs to be scrollable.
I used a ScrollView for the parent scroll before but this was giving me a warning as it is not a good practice to include FlatLists inside a ScrollView due to performance reasons.
So I created this VirtualizedView which is a FlatList where all the components of my screen are rendered in the ListHeaderComponent.
Unfortunately this causes my child FlatList to not be scrollable.
I have tried many things, including setting a maxHeight, flexGrow etc. without much luck.
Any help would be appreciated. Thank you