Skip to content

Commit c8058c3

Browse files
authored
Merge pull request #4835 from IgniteUI/select-cust-overlay-settings-mousedown
fix(igxSelect): Prevent igxSelect blur on drop-down-item click #4724
2 parents aa6e809 + aef4303 commit c8058c3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

projects/igniteui-angular/src/lib/drop-down/drop-down-item.component.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,4 +83,12 @@ export class IgxDropDownItemComponent extends IgxDropDownItemBase implements DoC
8383
this.dropDown.selectItem(this, event);
8484
}
8585
}
86+
87+
/**
88+
* @hidden @internal
89+
*/
90+
@HostListener('mousedown', ['$event'])
91+
mousedownHandler(event) {
92+
event.preventDefault();
93+
}
8694
}

0 commit comments

Comments
 (0)