You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(material/datepicker): avoid re-rendering mat-calendar when minDate or maxDate is at a different time on the same day
Avoid re-rendering <mat-calendar/> when it receives a new value for
either the [minDate] or [maxDate] Input, and the value is at a different time on the same day.
Make two code changes to `MatCalendar` to accomplish this behavior change.
- Normalize `_minDate` and `_maxDate` to midnight of the given day
- Add check in `ngOnChanges` to re-render only if the current minDate
is not equal to the previous minDate.
Fixes#24435
0 commit comments