Skip to content

Commit

Permalink
fix(core): fix open DropdownContext after single touch on iOS (#9286)
Browse files Browse the repository at this point in the history
  • Loading branch information
MillerSvt authored Oct 1, 2024
1 parent 7452ebc commit 20b1c61
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 20b1c61

Please sign in to comment.