Optimize scrolling: resize only changed row index and higher

This commit is contained in:
Scott Nonnenberg 2019-08-23 12:56:49 -07:00 committed by Ken Powers
parent 1f7c78eb0e
commit 979841f36c
4 changed files with 205 additions and 101 deletions

View file

@ -228,9 +228,7 @@ export class SearchResults extends React.Component<PropsType> {
public resizeAll = () => {
this.cellSizeCache.clearAll();
const rowCount = this.getRowCount();
this.recomputeRowHeights(rowCount - 1);
this.recomputeRowHeights(0);
};
public getRowCount() {