Skip to content

Commit

Permalink
fix(kit): Input with DataList never shows dropdown after its 1st …
Browse files Browse the repository at this point in the history
…closing
  • Loading branch information
nsbarsukov committed Dec 2, 2024
1 parent 7c746b6 commit 866a538
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,12 @@ export class TuiDropdownOpenMonitorDirective {
@Input()
set tuiDropdownOpenMonitor(open: boolean) {
this.open?.update(open);
this.hosted.updateOpen(open);
}

constructor(
@Self() @Inject(TuiDestroyService) destroy$: Observable<unknown>,
@Inject(TUI_HOSTED_DROPDOWN_COMPONENT)
private readonly hosted: TuiInjectionTokenType<
typeof TUI_HOSTED_DROPDOWN_COMPONENT
>,
readonly hosted: TuiInjectionTokenType<typeof TUI_HOSTED_DROPDOWN_COMPONENT>,
@Self() @Inject(TuiDropdownDirective) dropdown: TuiDropdownDirective,
@Optional()
@Inject(TuiDropdownOpenDirective)
Expand Down

0 comments on commit 866a538

Please sign in to comment.