Skip to content

Commit

Permalink
fix(core): Input with DataList never shows dropdown after its 1st…
Browse files Browse the repository at this point in the history
… closing (#9881)
  • Loading branch information
nsbarsukov authored Dec 3, 2024
1 parent 7c746b6 commit eb71369
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
>,
hosted: TuiInjectionTokenType<typeof TUI_HOSTED_DROPDOWN_COMPONENT>,
@Self() @Inject(TuiDropdownDirective) dropdown: TuiDropdownDirective,
@Optional()
@Inject(TuiDropdownOpenDirective)
Expand Down

0 comments on commit eb71369

Please sign in to comment.