Skip to content

Commit

Permalink
effect deps
Browse files Browse the repository at this point in the history
  • Loading branch information
m4theushw committed Oct 5, 2021
1 parent 58ba918 commit 55ae98d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ const GridVirtualizedContainer = React.forwardRef<any, any>(function GridVirtual
firstColumnIndex,
lastColumnIndex,
};
}, [apiRef, rowHeight]);
}, [apiRef, rootProps.autoHeight, rowHeight, rowsInCurrentPage.length]);

React.useEffect(() => {
const initialRenderContext = computeRenderContext();
Expand Down

0 comments on commit 55ae98d

Please sign in to comment.