Skip to content

Commit

Permalink
Fixed #14368 - Accordion | TextArea shortcuts are not working when us…
Browse files Browse the repository at this point in the history
…ed in Accordion Panels
  • Loading branch information
mehmetcetin01140 committed Dec 19, 2023
1 parent 1276507 commit a60b307
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions src/app/components/accordion/accordion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -443,17 +443,21 @@ export class Accordion implements BlockableUI, AfterContentInit, OnDestroy {
case 'ArrowDown':
this.onTabArrowDownKey(event);
break;

case 'ArrowUp':
this.onTabArrowUpKey(event);
break;

case 'Home':
this.onTabHomeKey(event);
if (!event.shiftKey) {
this.onTabHomeKey(event);
}
break;

case 'End':
this.onTabEndKey(event);
if (!event.shiftKey) {
this.onTabEndKey(event);
}
break;
}
}
Expand Down Expand Up @@ -622,3 +626,4 @@ export class Accordion implements BlockableUI, AfterContentInit, OnDestroy {
declarations: [Accordion, AccordionTab]
})
export class AccordionModule {}

0 comments on commit a60b307

Please sign in to comment.