Skip to content

Commit

Permalink
refactor | tree
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmetcetin01140 committed Jul 11, 2024
1 parent 3aff4fa commit 946256a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/tree/tree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -844,7 +844,7 @@ export class UITreeNode implements OnInit {
</ng-container>
</p-scroller>
<ng-container *ngIf="!virtualScroll">
<div #wrapper class="p-tree-wrapper" [style.max-height]="scrollHeight">
<div #wrapper class="p-tree-wrapper" [ngStyle]="{ 'max-height': scrollHeight }">
<ul class="p-tree-container" *ngIf="getRootNode()" role="tree" [attr.aria-label]="ariaLabel" [attr.aria-labelledby]="ariaLabelledBy">
<p-treeNode
*ngFor="let node of getRootNode(); let firstChild = first; let lastChild = last; let index = index; trackBy: trackBy"
Expand Down

0 comments on commit 946256a

Please sign in to comment.