Skip to content

Commit

Permalink
[DataGrid] Fix virtual scroller not updating layout after pinning the…
Browse files Browse the repository at this point in the history
… column (#7946)
  • Loading branch information
cherniavskii authored Feb 16, 2023
1 parent 863ac3c commit 5881080
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,7 @@ export const useGridVirtualScroller = (props: UseGridVirtualScrollerProps) => {
prevRenderContext.current &&
areRenderContextsEqual(nextRenderContext, prevRenderContext.current)
) {
updateRenderZonePosition(nextRenderContext);
return;
}
setRenderContext(nextRenderContext);
Expand Down

0 comments on commit 5881080

Please sign in to comment.