Skip to content

Commit

Permalink
Fix List with CellMeasurer on first paint (#959)
Browse files Browse the repository at this point in the history
* List no longer masks parent value for CellMeasurer
  • Loading branch information
OriR authored and bvaughn committed Jan 13, 2018
1 parent 7013709 commit fff130a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/List/List.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ export default class List extends React.PureComponent<Props> {
}

_cellRenderer = ({
parent,
rowIndex,
style,
isScrolling,
Expand All @@ -235,7 +236,7 @@ export default class List extends React.PureComponent<Props> {
isScrolling,
isVisible,
key,
parent: this,
parent,
});
};

Expand Down

0 comments on commit fff130a

Please sign in to comment.