Skip to content

Commit

Permalink
fix(DataGrid): Row size change issues with infinite/virtual scrolling…
Browse files Browse the repository at this point in the history
… enabled
  • Loading branch information
amal-k-joy authored Aug 20, 2024
1 parent 4d2e6e8 commit 015dd2a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const DatagridVirtualBody = (datagridState: DataGridState) => {
if (listRef && listRef.current) {
listRef.current.resetAfterIndex(0);
}
}, [listRef]);
}, [listRef,rowHeight]);

const visibleRows = ((DatagridPagination && page) || rows) as DatagridRow[];
const testRef: MutableRefObject<HTMLDivElement | null> = useRef(null);
Expand Down

0 comments on commit 015dd2a

Please sign in to comment.