Skip to content

Commit

Permalink
fix: #13572 || AutoComplete showClear close icon overlap with loader …
Browse files Browse the repository at this point in the history
…icon (#13574)

Co-authored-by: Md Ashik <[email protected]>
  • Loading branch information
ashikjs and ashikjs authored Aug 30, 2023
1 parent 8824a0d commit d5f7ea5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/autocomplete/autocomplete.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export const AUTOCOMPLETE_VALUE_ACCESSOR: any = {
[attr.aria-labelledby]="ariaLabelledBy"
[attr.aria-required]="required"
/>
<ng-container *ngIf="filled && !disabled && showClear">
<ng-container *ngIf="filled && !disabled && showClear && !loading">
<TimesIcon *ngIf="!clearIconTemplate" [styleClass]="'p-autocomplete-clear-icon'" (click)="clear()" />
<span *ngIf="clearIconTemplate" class="p-autocomplete-clear-icon" (click)="clear()">
<ng-template *ngTemplateOutlet="clearIconTemplate"></ng-template>
Expand Down

1 comment on commit d5f7ea5

@vercel
Copy link

@vercel vercel bot commented on d5f7ea5 Aug 30, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.