Skip to content

SortableList - add note to docs about missing items #2433

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 23, 2023

Conversation

M-i-k-e-l
Copy link
Collaborator

Description

SortableList - add note to docs about missing items

Relates to WOAUILIB-3327

Changelog

SortableList - add note to docs about missing items

@@ -5,6 +5,7 @@
"extends": ["FlatList"],
"extendsLink": ["https://reactnative.dev/docs/flatlist"],
"example": "https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/SortableListScreen.tsx",
"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}`.",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why can't we add 'initialNumToRender={data.length}' to the component?

@Inbal-Tish Inbal-Tish merged commit 0379785 into master Jan 23, 2023
@M-i-k-e-l M-i-k-e-l deleted the docs/sortable-list-add-note-about-missing-items branch January 23, 2023 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants