Answer the question
In order to leave comments, you need to log in
How to remove error when using FlatList in ScrollView?
I am a joon in react-native. When I use FlatList in ScrollView , I get an error:
VirtualizedLists should never be nested inside plain ScrollViews with the same orientation - use another VirtualizedList-backed container instead.
Answer the question
In order to leave comments, you need to log in
ScrollView cannot be used with Flatlist.
Flatlist has the following parameters for your tasks:
ListHeaderComponent - for the header
ListFooterComponent - for the footer
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question