Fixed search facet deadlock

Also fixed minor issue in MetadataService, but this doesn't cause any issues in the current code

(cherry picked from commit 446280b59a)
This commit is contained in:
Alexandre Vryghem
2024-06-22 17:32:34 +02:00
committed by abhinav
parent 0c9f8c02f6
commit db119e4118

View File

@@ -165,11 +165,11 @@ export class InputSuggestionsComponent implements ControlValueAccessor, OnChange
} }
/** /**
* When any key is pressed (except for the Enter button) the query input should move to the input field * When any key is pressed (except for the Enter & Tab button) the query input should move to the input field
* @param {KeyboardEvent} event The keyboard event * @param {KeyboardEvent} event The keyboard event
*/ */
onKeydown(event: KeyboardEvent) { onKeydown(event: KeyboardEvent) {
if (event.key !== 'Enter') { if (event.key !== 'Enter' && event.key !== 'Tab') {
this.queryInput.nativeElement.focus(); this.queryInput.nativeElement.focus();
} }
} }