@@ -42,10 +42,11 @@ const RowWrapper = styled(Row)<{$style: ResponsiveLayoutRowStyleType}>`
4242const ColWrapper = styled ( Col ) < {
4343 $style : ResponsiveLayoutColStyleType ,
4444 $minWidth ?: string ,
45+ $matchColumnsHeight : boolean ,
4546} > `
4647 min-width: ${ ( props ) => props . $minWidth } ;
4748 > div {
48- height: 100%;
49+ height: ${ ( props ) => props . $matchColumnsHeight ? ' 100%' : 'auto' } ;
4950 }
5051` ;
5152
@@ -58,6 +59,7 @@ const childrenMap = {
5859 } ) ,
5960 autoHeight : AutoHeightControl ,
6061 rowBreak : withDefault ( BoolControl , false ) ,
62+ matchColumnsHeight : withDefault ( BoolControl , false ) ,
6163 rowStyle : withDefault ( styleControl ( ResponsiveLayoutRowStyle ) , { } ) ,
6264 columnStyle : withDefault ( styleControl ( ResponsiveLayoutColStyle ) , { } ) ,
6365 columnPerRowLG : withDefault ( NumberControl , 4 ) ,
@@ -91,6 +93,7 @@ const ResponsiveLayout = (props: ResponsiveLayoutProps) => {
9193 containers,
9294 dispatch,
9395 rowBreak,
96+ matchColumnsHeight,
9497 rowStyle,
9598 columnStyle,
9699 columnPerRowLG,
@@ -135,6 +138,7 @@ const ResponsiveLayout = (props: ResponsiveLayoutProps) => {
135138 xs = { 24 / ( noOfColumns < columnPerRowSM ? noOfColumns : columnPerRowSM ) }
136139 $style = { columnCustomStyle }
137140 $minWidth = { column . minWidth }
141+ $matchColumnsHeight = { matchColumnsHeight }
138142 >
139143 < ColumnContainer
140144 layout = { containerProps . layout . getView ( ) }
@@ -177,6 +181,9 @@ export const ResponsiveLayoutBaseComp = (function () {
177181 { children . rowBreak . propertyView ( {
178182 label : trans ( "responsiveLayout.rowBreak" )
179183 } ) }
184+ { children . matchColumnsHeight . propertyView ( {
185+ label : trans ( "responsiveLayout.matchColumnsHeight" )
186+ } ) }
180187 </ Section >
181188 < Section name = { trans ( "responsiveLayout.columnsPerRow" ) } >
182189 { children . columnPerRowLG . propertyView ( {
0 commit comments