Skip to content

Commit

Permalink
fix(DataGrid): row size change issues with virtual scrolling enabled (c…
Browse files Browse the repository at this point in the history
  • Loading branch information
amal-k-joy authored Aug 21, 2024
1 parent 73a9824 commit a297e8a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,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 a297e8a

Please sign in to comment.