diff --git a/src/app/shared/components/search/search-box/search-box.component.ts b/src/app/shared/components/search/search-box/search-box.component.ts index ddd836fab0..3d232e48fa 100644 --- a/src/app/shared/components/search/search-box/search-box.component.ts +++ b/src/app/shared/components/search/search-box/search-box.component.ts @@ -87,6 +87,7 @@ export class SearchBoxComponent implements OnInit, OnDestroy { // something was selected via keyboard this.searchResults$.pipe(take(1), takeUntil(this.destroy$)).subscribe(results => { this.router.navigate(['/search', results[this.activeIndex].term]); + this.activeIndex = -1; }); } else { this.router.navigate(['/search', suggestedTerm]);