Skip to content

Commit

Permalink
@W-16222655 : datepicker_design_system_react fix keyboard trap at tod…
Browse files Browse the repository at this point in the history
…ay (#3149)
  • Loading branch information
bdewangan committed Aug 15, 2024
1 parent 3c8ec3e commit 98c9707
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/date-picker/private/calendar-wrapper.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ class DatepickerCalendarWrapper extends React.Component {
handleLastFocusableNodeKeyDown = (event) => {
if (!event.shiftKey && event.keyCode === KEYS.TAB) {
EventUtil.trapEvent(event);
this.previousMonthRef.focus();
}
};

Expand Down

0 comments on commit 98c9707

Please sign in to comment.