File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,13 @@ const CalendarStandAloneComponent = (
25
25
const today = new Date ( ) ;
26
26
27
27
return (
28
- < CalendarStyled ref = { ref } data-testid = { dataTestId } id = { props . id } styles = { props . styles } >
28
+ < CalendarStyled
29
+ ref = { ref }
30
+ data-calendar
31
+ data-testid = { dataTestId }
32
+ id = { props . id }
33
+ styles = { props . styles }
34
+ >
29
35
< Selector
30
36
configAccesibility = { props . configAccesibility }
31
37
configCalendar = { props . configCalendar }
Original file line number Diff line number Diff line change @@ -75,7 +75,8 @@ export const handleKeyDownMove = ({
75
75
}
76
76
// to go to max date if next day below is disabled unless it is the max date
77
77
if (
78
- previous + firstEmptyAndDisabledDays + 1 >= maxDate . getDate ( ) - 7 &&
78
+ previous + firstEmptyAndDisabledDays + 1 >=
79
+ maxDate . getDate ( ) + firstEmptyAndDisabledDays - 7 &&
79
80
previous !== daysAndEmptyDaysUntilMaxDate
80
81
) {
81
82
return maxDate . getDate ( ) + firstEmptyAndDisabledDays - 1 ;
You can’t perform that action at this time.
0 commit comments