Skip to content

Commit

Permalink
fix(core): fix open DropdownContext after single touch on iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
MillerSvt committed Oct 1, 2024
1 parent 7452ebc commit 6ed74fa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ export class TuiDropdownContextDirective extends TuiDriver implements TuiRectAcc
return;
}

this.currentRect = tuiPointToClientRect(x, y);
this.longTapTimeout = setTimeout(() => {
this.currentRect = tuiPointToClientRect(x, y);
this.stream$.next(true);
}, TAP_DELAY);
}
Expand Down

0 comments on commit 6ed74fa

Please sign in to comment.