From 6c060f746fa3a3be0787e831ab15822f7a39ffd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mehmet=20=C3=87etin?= <92744169+mehmetcetin01140@users.noreply.github.com> Date: Fri, 7 Jun 2024 11:57:07 +0300 Subject: [PATCH] Fixed #15326 - OrderList: Unable to insert space into input component --- src/app/components/orderlist/orderlist.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/app/components/orderlist/orderlist.ts b/src/app/components/orderlist/orderlist.ts index f7558fe7e8e..5203599717b 100755 --- a/src/app/components/orderlist/orderlist.ts +++ b/src/app/components/orderlist/orderlist.ts @@ -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);