diff --git a/packages/react/src/components/Table/TableHead/ColumnResize.jsx b/packages/react/src/components/Table/TableHead/ColumnResize.jsx index 780f1de787..97a34484d2 100644 --- a/packages/react/src/components/Table/TableHead/ColumnResize.jsx +++ b/packages/react/src/components/Table/TableHead/ColumnResize.jsx @@ -9,7 +9,7 @@ import { MIN_COLUMN_WIDTH } from './columnWidthUtilityFunctions'; const propTypes = { currentColumnWidths: PropTypes.objectOf( PropTypes.shape({ - width: PropTypes.number, + width: PropTypes.oneOfType([PropTypes.number, PropTypes.string]), id: PropTypes.string, }) ).isRequired, diff --git a/packages/react/src/components/Table/TableHead/TableHead.jsx b/packages/react/src/components/Table/TableHead/TableHead.jsx index 8b3a90c16b..bd566def0a 100644 --- a/packages/react/src/components/Table/TableHead/TableHead.jsx +++ b/packages/react/src/components/Table/TableHead/TableHead.jsx @@ -490,7 +490,12 @@ const TableHead = ({ percentageMode && !hasOverflowMenu ) { - if (hasRowSelection === 'multi' && !(hasRowExpansion || hasRowNesting)) { + /* istanbul ignore next */ + if ( + (hasRowSelection === 'multi' || + (useRadioButtonSingleSelect && hasRowSelection === 'single')) && + !(hasRowExpansion || hasRowNesting) + ) { tableWidth = `calc(100% - 54px)`; columnWidth = `calc(${tableWidth} / ${totalColumns})`; } else if (