Skip to content

Commit

Permalink
Fixed #17145 - Component: Tree Filter Icon incorrect position
Browse files Browse the repository at this point in the history
  • Loading branch information
mertsincan committed Dec 19, 2024
1 parent 0f7673b commit 52a561d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/primeng/src/tree/tree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import { BlockableUI, PrimeTemplate, ScrollerOptions, SharedModule, TranslationK
import { BaseComponent } from 'primeng/basecomponent';
import { Checkbox } from 'primeng/checkbox';
import { IconField } from 'primeng/iconfield';
import { CheckIcon, ChevronDownIcon, ChevronRightIcon, MinusIcon, PlusIcon, SearchIcon, SpinnerIcon } from 'primeng/icons';
import { ChevronDownIcon, ChevronRightIcon, SearchIcon, SpinnerIcon } from 'primeng/icons';
import { InputIcon } from 'primeng/inputicon';
import { InputText } from 'primeng/inputtext';
import { Ripple } from 'primeng/ripple';
Expand Down Expand Up @@ -701,7 +701,7 @@ export class UITreeNode extends BaseComponent implements OnInit {
@Component({
selector: 'p-tree',
standalone: true,
imports: [CommonModule, Scroller, SharedModule, SearchIcon, SpinnerIcon, InputText, FormsModule, UITreeNode],
imports: [CommonModule, Scroller, SharedModule, SearchIcon, SpinnerIcon, InputText, FormsModule, IconField, InputIcon, UITreeNode],
template: `
<div [ngClass]="containerClass" [ngStyle]="style" [class]="styleClass" (drop)="onDrop($event)" (dragover)="onDragOver($event)" (dragenter)="onDragEnter()" (dragleave)="onDragLeave($event)">
<div class="p-tree-mask p-overlay-mask" *ngIf="loading && loadingMode === 'mask'">
Expand Down

0 comments on commit 52a561d

Please sign in to comment.