Skip to content

Commit fc28d7c

Browse files
committed
fix(IgxMonthPicker): should not emot selection when change year #7456
1 parent 80bec3b commit fc28d7c

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
@@ -150,9 +150,6 @@ export class IgxMonthPickerComponent extends IgxMonthPickerBaseDirective {
150150
this.viewDate = new Date(event.getFullYear(), event.getMonth(), event.getDate());
151151
this.activeView = CalendarView.DEFAULT;
152152

153-
this.selectDate(event);
154-
this.onSelection.emit(this.selectedDates);
155-
156153
requestAnimationFrame(() => {
157154
if (this.yearsBtn) { this.yearsBtn.nativeElement.focus(); }
158155
});

0 commit comments

Comments
 (0)