From f189028cf4a924b547606f9ea2155c50e20b3329 Mon Sep 17 00:00:00 2001 From: Michal Grzegorczyk Date: Sun, 3 Nov 2024 22:37:40 +0100 Subject: [PATCH] fix: opening dropdown in sidebar input --- projects/kit/components/input/input.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/kit/components/input/input.component.ts b/projects/kit/components/input/input.component.ts index d63630b742f5..e8c01ae7ce97 100644 --- a/projects/kit/components/input/input.component.ts +++ b/projects/kit/components/input/input.component.ts @@ -125,13 +125,13 @@ export class TuiInputComponent onActiveZone(active: boolean): void { this.updateFocused(active); - this.open = false; } handleOption(item: unknown): void { this.setNativeValue(String(item)); this.focusInput(); this.value = String(item); + this.open = false; } protected getFallbackValue(): string {