Skip to content

Commit e0655f7

Browse files
MKirovaMKirova
authored andcommitted
chore(*): Do not constrain if value is set by user to columnWidth.
1 parent b6203a8 commit e0655f7

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 && (!this.widthSetByUser || this.width === 'fit-content') && (!newSize || newSize <= this.grid.minColumnWidth)) {
2682+
} else if (!this.minWidth && (!this.widthSetByUser || this.width === 'fit-content') && !this.grid.columnWidthSetByUser && (!newSize || newSize <= this.grid.minColumnWidth)) {
26832683
return this.grid.minColumnWidth;
26842684
} else {
26852685
this.widthConstrained = false;

0 commit comments

Comments
 (0)