Skip to content

Commit 52c4456

Browse files
MKirovaMKirova
authored andcommitted
chore(*): Set grid minWidth as constraint only if no user set min or width.
1 parent fd4daca commit 52c4456

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/igniteui-angular/grids/core/src/columns/column.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2679,7 +2679,7 @@ export class IgxColumnComponent implements AfterContentInit, OnDestroy, ColumnTy
26792679
} else if (this.minWidth && newSize <= this.userSetMinWidthPx) {
26802680
this.widthConstrained = true;
26812681
return this.userSetMinWidthPx;
2682-
} else if (!this.minWidth && newSize <= this.grid.minColumnWidth){
2682+
} else if (!this.minWidth && !this.widthSetByUser && newSize <= this.grid.minColumnWidth){
26832683
this.widthConstrained = true;
26842684
return this.grid.minColumnWidth;
26852685
} else {

0 commit comments

Comments
 (0)