Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.
C# annotationscbzcomicinfocomicscomics-readercross-platformcsharpepubepub-readerfreelinuxmangamedia-servermetadataopdsopds-feedpdfself-hostedubooquitywindows
Fixed typeahead not working correctly (#1490)
Joseph Milazzo6d10c52ee9bb
diff --git a/UI/Web/src/app/typeahead/typeahead.component.ts b/UI/Web/src/app/typeahead/typeahead.component.tsindex 4cab42597..c680d35fe 100644--- a/UI/Web/src/app/typeahead/typeahead.component.ts+++ b/UI/Web/src/app/typeahead/typeahead.component.ts@@ -5,7 +5,6 @@ import { UntypedFormControl, UntypedFormGroup } from '@angular/forms';import { Observable, of, ReplaySubject, Subject } from 'rxjs';import { auditTime, distinctUntilChanged, filter, map, shareReplay, switchMap, take, takeUntil, tap } from 'rxjs/operators';import { KEY_CODES } from '../shared/_services/utility.service';-import { ToggleService } from '../_services/toggle.service';import { SelectionCompareFn, TypeaheadSettings } from './typeahead-settings';/**@@ -256,6 +255,7 @@ export class TypeaheadComponent implements OnInit, OnDestroy {tap((filteredOptions) => {this.isLoadingOptions = false;this.focusedIndex = 0;+ this.cdRef.markForCheck();setTimeout(() => {this.updateShowAddItem(filteredOptions);this.updateHighlight();