We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbab47f commit 581119fCopy full SHA for 581119f
packages/x-data-grid/src/hooks/features/columnResize/useGridColumnResize.tsx
@@ -747,10 +747,7 @@ export const useGridColumnResize = (
747
0,
748
);
749
const dimensions = apiRef.current.getRootDimensions();
750
- const availableWidth =
751
- dimensions.viewportInnerSize.width -
752
- dimensions.leftPinnedWidth -
753
- dimensions.rightPinnedWidth;
+ const availableWidth = dimensions.viewportInnerSize.width;
754
const remainingWidth = availableWidth - totalWidth;
755
756
if (remainingWidth > 0) {
0 commit comments