Skip to content

Commit

Permalink
passing numColumns instead of columnCount to VirtList
Browse files Browse the repository at this point in the history
  • Loading branch information
fabOnReact committed Feb 14, 2022
1 parent 02c2b17 commit 7977776
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Libraries/Lists/FlatList.js
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ class FlatList<ItemT> extends React.PureComponent<Props<ItemT>, 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,
};

Expand Down

0 comments on commit 7977776

Please sign in to comment.