Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
git-nandor committed Oct 22, 2024
1 parent 1d58826 commit ef9cd07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ui-calendar/src/Calendar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ class Calendar extends Component<CalendarProps, CalendarState> {
}

setFirstDayTabIndex = (tabIndex: 0 | -1) => {
// Manage the first day as the focus entry point and prevent focus stacking
// by adjusting its tabIndex when focus moves to other days
// Manage the first day as the focus entry point and prevent focus
// from getting stuck by adjusting its tabIndex when focus moves to other days
if (this.dayRefs[0]) {
this.dayRefs[0].tabIndex = tabIndex
}
Expand Down

0 comments on commit ef9cd07

Please sign in to comment.