diff --git a/projects/core/directives/dropdown/dropdown-manual.directive.ts b/projects/core/directives/dropdown/dropdown-manual.directive.ts index e0e6f3ff5544..874d947a4e38 100644 --- a/projects/core/directives/dropdown/dropdown-manual.directive.ts +++ b/projects/core/directives/dropdown/dropdown-manual.directive.ts @@ -1,13 +1,13 @@ import {Directive, Input, OnChanges} from '@angular/core'; import {tuiAsDriver, TuiDriver} from '@taiga-ui/core/abstract'; -import {Subject} from 'rxjs'; +import {BehaviorSubject} from 'rxjs'; @Directive({ selector: '[tuiDropdown][tuiDropdownManual]', providers: [tuiAsDriver(TuiDropdownManualDirective)], }) export class TuiDropdownManualDirective extends TuiDriver implements OnChanges { - private readonly stream$ = new Subject(); + private readonly stream$ = new BehaviorSubject(false); @Input() tuiDropdownManual = false;