Skip to content

Commit

Permalink
Merge pull request #14411 from Wykks/patch-1
Browse files Browse the repository at this point in the history
columnFilter: hide on mousedown instead of click
  • Loading branch information
cetincakiroglu committed Dec 28, 2023
2 parents b3ae34d + 2929368 commit 3baa758
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/table/table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5570,7 +5570,7 @@ export class ColumnFilter implements AfterContentInit {
if (!this.documentClickListener) {
const documentTarget: any = this.el ? this.el.nativeElement.ownerDocument : 'document';

this.documentClickListener = this.renderer.listen(documentTarget, 'click', (event) => {
this.documentClickListener = this.renderer.listen(documentTarget, 'mousedown', (event) => {
if (this.overlayVisible && !this.selfClick && this.isOutsideClicked(event)) {
this.hide();
}
Expand Down

0 comments on commit 3baa758

Please sign in to comment.