Skip to content

Commit

Permalink
Merge pull request #15809 from primefaces/issue-15326
Browse files Browse the repository at this point in the history
Fixed #15326 - OrderList: Unable to insert space into input component
  • Loading branch information
cetincakiroglu authored Jun 13, 2024
2 parents 551eb40 + 6c060f7 commit 8088fb9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/app/components/orderlist/orderlist.ts
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,12 @@ export class OrderList implements AfterViewChecked, AfterContentInit {
}

onItemKeydown(event: KeyboardEvent) {
const targetTagName = (event.target as HTMLElement).tagName.toLowerCase();

if (targetTagName == 'input') {
return;
}

switch (event.code) {
case 'ArrowDown':
this.onArrowDownKey(event);
Expand Down

0 comments on commit 8088fb9

Please sign in to comment.