angular / components

Component infrastructure and Material Design components for Angular
https://material.angular.io
MIT License
24.36k stars 6.74k forks source link

feat(datepicker): Support fixed height with displaying trailing and leading days of surrounding months #29549

Open jonathont opened 2 months ago

jonathont commented 2 months ago

Feature Description

Currently the Angular Material implementation of the Material date picker only seems to display the current month's days, without the trailing days of the previous month and leading days of the next month (if any). An example of the current UI: angularmaterialdatepicker

However when switching between months, the height of the component changes depending on the alignment of the weeks within the currently viewed month.

angmatdate

This request is for the Angular Material date picker to support displaying the trailing/leading days and maintain a fixed height, which particularly when inline, is much easier to design for when developing a surrounding layout compared to a component that has variable/jumping height.

The Date picker in the Material 3 spec does seem to support this as shown:

image (From https://m3.material.io/components/date-pickers/specs)

Use Case

No response

Amenawon commented 2 months ago

hi can i be assigned this? :)

udityasingh0909 commented 3 weeks ago

@jonathont @amysorto Is anyone working on this?