0

We have a component for a sortable list that uses FlatList with a CellRendererComponent:

<FlatList
  ...
  data={data}
  CellRendererComponent={SortableListItem}
/>

We have a usage where on some Android devices, at least part of the time only the start of the list is shown, and the end is cut.

MikeL
  • 2,756
  • 2
  • 23
  • 41

1 Answers1

0

This appears to be a bug with FlatList (it reproduced with a simpler example), a workaround for short lists it to add:

initialNumToRender={data.length}
MikeL
  • 2,756
  • 2
  • 23
  • 41