-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Open
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/datepicker
Description
Is this a regression?
- Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
No response
Description
When using the angular material datepicker example given in the below link. The issue faced are reported below.
https://material.angular.io/components/datepicker/overview#watching-the-views-for-changes-on-selected-years-and-months.
Actual example how it should work:
Angular material datepicker should show only year and month selector and the same to be applied in the field.
Issues:
- Day selector is displayed before datepicker closing for a millisecond which looks like a glitch.
- After selecting the year from datepicker if I select the year dropdown from the picker day selector is displayed and we are able to select the day which should not happen.
Reproduction
Steps to reproduce:
- First Issue: Choose Year and then month, after selecting month day selector is displayed for split second which looks like a glitch
- Second Issue: Choose Year then select Year dropdown in the example day selector is displayed.
Expected Behavior
Angular datepicker with only year and month should not show day selector.
Actual Behavior
- Day selector is shown as a glitch for a split second furing year and month selection.
- Day selector is shown when year dropdown is selected.
Environment
- Angular:
- CDK/Material:
- Browser(s):
- Operating System (e.g. Windows, macOS, Ubuntu):
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/datepicker