Skip to content

Commit 92cc6e1

Browse files
authored
Merge pull request #464 from UiPath/fix/grid_actions_remove_reserved_space
fix(grid): remove reserved space for actions if scrollable [OR-75797]
2 parents 6b034fa + a7b51c2 commit 92cc6e1

File tree

7 files changed

+14
-6
lines changed

7 files changed

+14
-6
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# v15.2.4 (2024-02-22)
2+
* **grid** remove reserved space for actions if scrollable
3+
* **grid** update font and icon sizes for high density mode
4+
5+
# v15.2.3 (2024-02-20)
6+
* **tree-select** focus-visible state on ui-tree-select
7+
18
# v15.2.2 (2024-02-16)
29
* **grid** display margin shadow if scrollable
310
* **suggest** change default forceDisplayDropdownOverInput

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-components",
3-
"version": "15.2.3",
3+
"version": "15.2.4",
44
"author": {
55
"name": "UiPath Inc",
66
"url": "https://uipath.com"

projects/angular/components/ui-grid/src/ui-grid.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@
522522
</div>
523523

524524
<ng-container *ngFor="let column of renderedColumns.freeColumns; let lastColumn = last; let columnIndex = index">
525-
<div *ngLet="(+(column.directive.widthPx$ | async)! + (lastColumn ? (+(deficit$ | async)!) : 0)) as widthPx"
525+
<div *ngLet="(+(column.directive.widthPx$ | async)! + (lastColumn ? (+(deficit$ | async)!) : 0) + (lastColumn && isScrollable ? 50 : 0)) as widthPx"
526526
[class.ui-grid-primary]="column.directive.primary"
527527
[class.ui-grid-secondary]="!column.directive.primary"
528528
[class.ui-grid-state-resizing]="column.directive === resizeManager.current?.column"

projects/angular/components/ui-grid/src/ui-grid.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ ui-grid {
554554
}
555555

556556
.invisible-refresh {
557-
opacity: 0;
557+
display: none;
558558
}
559559
}
560560

projects/angular/components/ui-grid/src/ui-grid.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -883,6 +883,7 @@ export class UiGridComponent<T extends IGridDataEntry>
883883
isOverflown$ = iif(() => this.isScrollable, this.minWidth$.pipe(
884884
map(minWidth => this._isOverflown(minWidth)),
885885
distinctUntilChanged(),
886+
shareReplay(1),
886887
), of(false));
887888

888889
tableOverflowStyle$ = this.isOverflown$.pipe(

projects/angular/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@uipath/angular",
3-
"version": "15.2.3",
3+
"version": "15.2.4",
44
"license": "MIT",
55
"author": {
66
"name": "UiPath Inc",

0 commit comments

Comments
 (0)