Skip to content

Commit

Permalink
fix(core): fix dropdown-context directive on touchscreen laptops
Browse files Browse the repository at this point in the history
  • Loading branch information
MillerSvt committed Jul 26, 2024
1 parent b332da4 commit 37b0158
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {Directive, HostBinding, HostListener, Inject} from '@angular/core';
import {
EMPTY_CLIENT_RECT,
TUI_IS_IOS,
TUI_TOUCH_SUPPORTED,
TUI_IS_TOUCH,
TuiActiveZoneDirective,
tuiPointToClientRect,
} from '@taiga-ui/cdk';
Expand Down Expand Up @@ -43,7 +43,7 @@ export class TuiDropdownContextDirective extends TuiDriver implements TuiRectAcc
readonly activeZone: TuiActiveZoneDirective,
@Inject(TUI_IS_IOS)
readonly isIOS: boolean,
@Inject(TUI_TOUCH_SUPPORTED)
@Inject(TUI_IS_TOUCH)
readonly isTouch: boolean,
) {
super(subscriber => this.stream$.subscribe(subscriber));
Expand Down

0 comments on commit 37b0158

Please sign in to comment.