File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
packages/x-data-grid/src/hooks/features/virtualization Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -267,12 +267,7 @@ export const useGridVirtualScroller = () => {
267
267
dimensions . minimumSize . height - dimensions . viewportOuterSize . height ,
268
268
) ;
269
269
const maxScrollLeft = Math . ceil (
270
- dimensions . minimumSize . width -
271
- // TODO: remove remove pinned columns once the below gets merged:
272
- // https://github.com/mui/mui-x/pull/15627
273
- ( dimensions . viewportInnerSize . width +
274
- dimensions . leftPinnedWidth +
275
- dimensions . rightPinnedWidth ) ,
270
+ dimensions . minimumSize . width - dimensions . viewportInnerSize . width ,
276
271
) ;
277
272
278
273
// Clamp the scroll position to the viewport to avoid re-calculating the render context for scroll bounce
You can’t perform that action at this time.
0 commit comments