This project was bootstrapped with Create React App.
To see the bug happen, execute the following steps:
- Clone this repository
cd
into the cloned repository- Execute
npm install
- Start the application using
npm start
- Open
localhost:3000
in your web browser. - Input "2/24/2001" into the start date.
- Input "2/25/2022" into the end date.
- Click back into the start date field, positioning the cursor right after "24".
- Delete the "4" using the backspace key.
Notice that your cursor has now jumped to the end of the End Date input.
In this scenario, my cursor should still be in the Start Date input. It should be right after the "2" which represents the day and before the /.