[ACS-9374] Close menu on search trigger

This commit is contained in:
Shivangi917
2025-07-31 07:37:55 -04:00
parent 8d41d92a48
commit 430b41b5c4
@@ -192,9 +192,9 @@ export class SearchInputComponent implements OnInit, OnDestroy {
this.notificationService.showError('APP.BROWSE.SEARCH.EMPTY_SEARCH'); this.notificationService.showError('APP.BROWSE.SEARCH.EMPTY_SEARCH');
} }
if (this.trigger) { setTimeout(() => {
this.trigger.closeMenu(); this.trigger?.closeMenu();
} }, 0);
} }
onSearchChange(searchTerm: string) { onSearchChange(searchTerm: string) {