Skip to content

Commit

Permalink
[Data grid] Fix excessive white space at the end of grid (#14864)
Browse files Browse the repository at this point in the history
  • Loading branch information
kalyan90 authored Oct 14, 2024
1 parent 9c563ef commit 3f12d3d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ export const useGridVirtualScroller = () => {
return rows;
};

const needsHorizontalScrollbar = outerSize.width && columnsTotalWidth >= outerSize.width;
const needsHorizontalScrollbar = outerSize.width && columnsTotalWidth > outerSize.width;

const scrollerStyle = React.useMemo(
() =>
Expand Down

0 comments on commit 3f12d3d

Please sign in to comment.