Skip to content

Commit

Permalink
Merge pull request primefaces#12001 from primefaces/issue-11889
Browse files Browse the repository at this point in the history
Fixed primefaces#11889-Dropdown selecting an unwanted option when pressing Cont…
  • Loading branch information
cetincakiroglu authored Oct 3, 2022
2 parents f47610c + 32a827c commit cc3d0e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/dropdown/dropdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1015,7 +1015,7 @@ export class Dropdown implements OnInit,AfterViewInit,AfterContentInit,AfterView

//search item based on keyboard input
default:
if (search && !event.metaKey) {
if (search && !event.metaKey && event.which !== 17) {
this.search(event);
}
break;
Expand Down

0 comments on commit cc3d0e6

Please sign in to comment.