Skip to content

Commit 0379785

Browse files
authored
SortableList - add note to docs about missing items (#2433)
1 parent 0def025 commit 0379785

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/sortableList/SortableList.api.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"extends": ["FlatList"],
66
"extendsLink": ["https://reactnative.dev/docs/flatlist"],
77
"example": "https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/SortableListScreen.tsx",
8+
"note": "We've seen a case where not all items are rendered on some Android devices, this appears to be a bug with `FlatList` that is using `CellRendererComponent`, our current workaround is for you to add `initialNumToRender={data.length}`.",
89
"props": [
910
{
1011
"name": "data",

0 commit comments

Comments
 (0)