Skip to content

Commit

Permalink
Fixed #15326 - OrderList: Unable to insert space into input component
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmetcetin01140 committed Jun 7, 2024
1 parent d4d2d33 commit 6c060f7
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 6c060f7

Please sign in to comment.