From 79777766ae8eec8594c1f0947f28a8965ef26653 Mon Sep 17 00:00:00 2001 From: fabriziobertoglio1987 Date: Mon, 14 Feb 2022 10:56:15 +0800 Subject: [PATCH] passing numColumns instead of columnCount to VirtList https://github.com/fabriziobertoglio1987/react-native-notes/issues/6#issuecomment-1035689327 --- Libraries/Lists/FlatList.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/Lists/FlatList.js b/Libraries/Lists/FlatList.js index 81bfe2dd6a83ee..e5bad0253c41ee 100644 --- a/Libraries/Lists/FlatList.js +++ b/Libraries/Lists/FlatList.js @@ -672,7 +672,7 @@ class FlatList extends React.PureComponent, void> { const accessibilityCollectionProps = { itemCount: this.props.data ? this.props.data.length : 0, rowCount: this._getItemCount(this.props.data), - columnCount: numColumnsOrDefault(this.props.columnCount), + columnCount: numColumnsOrDefault(this.props.numColumns), hierarchical: false, };