Skip to content

Commit 68577aa

Browse files
committed
fix(IgxMonthPicker): should not emot selection when change year #7456
1 parent 51c5418 commit 68577aa

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

projects/igniteui-angular/src/lib/calendar/month-picker/month-picker.component.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,6 @@ export class IgxMonthPickerComponent extends IgxMonthPickerBaseDirective {
165165
this.viewDate = new Date(event.getFullYear(), event.getMonth(), event.getDate());
166166
this.activeView = CalendarView.DEFAULT;
167167

168-
this.selectDate(event);
169-
this.onSelection.emit(this.selectedDates);
170-
171168
requestAnimationFrame(() => {
172169
if (this.yearsBtn) { this.yearsBtn.nativeElement.focus(); }
173170
});

0 commit comments

Comments
 (0)