Skip to content

Commit

Permalink
fix(core): tuiDropdownContext menu remains open after long tap
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode committed Jan 29, 2025
1 parent 0987388 commit 8bfd377
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ export class TuiDropdownContextDirective extends TuiDriver implements TuiRectAcc
@HostListener('document:click.silent', ['$event.target'])
@HostListener('document:contextmenu.capture.silent', ['$event.target'])
@HostListener('document:keydown.esc', ['$event.currentTarget'])
@HostListener('document:pointerdown.silent', ['$event.target'])
closeDropdown(): void {
this.stream$.next(false);
this.currentRect = EMPTY_CLIENT_RECT;
Expand Down

0 comments on commit 8bfd377

Please sign in to comment.