File tree 2 files changed +0
-14
lines changed
projects/igniteui-angular/src/lib/calendar
2 files changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -1040,7 +1040,6 @@ describe('IgxCalendar', () => {
1040
1040
1041
1041
selectedDates . forEach ( d => {
1042
1042
expect ( d . selected ) . toBe ( true ) ;
1043
- expect ( d . isSelectedCSS ) . toBe ( true ) ;
1044
1043
} ) ;
1045
1044
1046
1045
const notSelectedDates = calendar . daysView . dates . toArray ( ) . filter ( d => {
@@ -1051,7 +1050,6 @@ describe('IgxCalendar', () => {
1051
1050
1052
1051
notSelectedDates . forEach ( d => {
1053
1052
expect ( d . selected ) . toBe ( false ) ;
1054
- expect ( d . isSelectedCSS ) . toBe ( false ) ;
1055
1053
} ) ;
1056
1054
} ) ;
1057
1055
} ) ;
Original file line number Diff line number Diff line change @@ -382,9 +382,6 @@ export class IgxDaysViewComponent extends IgxCalendarBase implements DoCheck {
382
382
383
383
if ( ! this . isDayFocusable ( day ) ) {
384
384
day = dates [ i - 7 ] ;
385
- if ( ! day ) {
386
- this . nextDate = this . calendarModel . timedelta ( this . nextDate , 'day' , - 7 ) ;
387
- }
388
385
}
389
386
390
387
// focus item in next month, which is currently out of view
@@ -442,9 +439,6 @@ export class IgxDaysViewComponent extends IgxCalendarBase implements DoCheck {
442
439
443
440
if ( ! this . isDayFocusable ( day ) ) {
444
441
day = dates [ i + 7 ] ;
445
- if ( ! day ) {
446
- this . nextDate = this . calendarModel . timedelta ( this . nextDate , 'day' , 7 ) ;
447
- }
448
442
449
443
}
450
444
@@ -504,9 +498,6 @@ export class IgxDaysViewComponent extends IgxCalendarBase implements DoCheck {
504
498
505
499
if ( ! this . isDayFocusable ( day ) ) {
506
500
day = dates [ i - 1 ] ;
507
- if ( ! day ) {
508
- this . nextDate = this . calendarModel . timedelta ( this . nextDate , 'day' , - 1 ) ;
509
- }
510
501
}
511
502
512
503
// focus item in previous month, which is currently out of view
@@ -565,9 +556,6 @@ export class IgxDaysViewComponent extends IgxCalendarBase implements DoCheck {
565
556
566
557
if ( ! this . isDayFocusable ( day ) ) {
567
558
day = dates [ i + 1 ] ;
568
- if ( ! day ) {
569
- this . nextDate = this . calendarModel . timedelta ( this . nextDate , 'day' , 1 ) ;
570
- }
571
559
}
572
560
573
561
// focus item in next month, which is currently out of view
You can’t perform that action at this time.
0 commit comments