Closed
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
The date range on trying to alter the date manually after choosing is not working properly.
Note: The issue only occurs randomly, so check more than once without refreshing.
Reproduction
StackBlitz link: https://material.angular.io/components/datepicker/overview
Steps to reproduce:
- Select a date range from the Basic date range picker
- Place the cursor at the last index of the end date
- Try to delete the end date completely by pressing the 'Backspace key'.
- Once the end date is removed the cursor is automatically placed at the beginning of the start date
Expected Behavior
The cursor should only be placed at the last index of the start date.
Actual Behavior
The cursor is automatically placed at the beginning of start date
Environment
- Angular: 17.2.1+sha-7d352fb
- Browser(s): Chrome
- Operating System (e.g. Windows, macOS, Ubuntu): Windows