Skip to content

Commit

Permalink
fix Runtime Error NoSuchKey exception columnCount
Browse files Browse the repository at this point in the history
numColums default was removed with commit fabOnReact/react-native-notes@7d5895d

More info at fabOnReact/react-native-notes#6 (comment)
  • Loading branch information
fabOnReact committed Feb 24, 2022
1 parent 60f7794 commit 062cdcd
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: this.props.numColumns,
columnCount: numColumnsOrDefault(this.props.numColumns),
hierarchical: false,
};

Expand Down

0 comments on commit 062cdcd

Please sign in to comment.