Skip to content

Commit 50b9211

Browse files
MKirovaMKirova
authored andcommitted
fix(RowSelectors): Fix integration with feature widths.
1 parent 6f2bb11 commit 50b9211

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

projects/igniteui-angular/src/lib/grids/grid-base.directive.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2520,6 +2520,14 @@ export class IgxGridBaseDirective extends DisplayDensityBase implements
25202520
this.hideOverlays();
25212521
}
25222522

2523+
/**
2524+
* @hidden
2525+
* @internal
2526+
*/
2527+
public get headerFeaturesWidth() {
2528+
return this._headerFeaturesWidth;
2529+
}
2530+
25232531
/**
25242532
* @hidden
25252533
* @internal

projects/igniteui-angular/src/lib/grids/grid/grid.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188
</div>
189189

190190
<div class="igx-grid__scroll" [style.height]="'18px'" #scr [hidden]="isHorizontalScrollHidden">
191-
<div class="igx-grid__scroll-start" [style.width.px]='pinnedWidth' [style.min-width.px]='pinnedWidth' [hidden]="pinnedWidth === 0 || !isPinningToStart"></div>
191+
<div class="igx-grid__scroll-start" [style.width.px]='pinnedWidth' [style.min-width.px]='isPinningToStart ? pinnedWidth : headerFeaturesWidth'></div>
192192
<div class="igx-grid__scroll-main" [style.width.px]='unpinnedWidth'>
193193
<ng-template igxGridFor [igxGridForOf]='[]' #scrollContainer>
194194
</ng-template>

0 commit comments

Comments
 (0)