react-datepicker
react-datepicker copied to clipboard
Accessibility issue - when selecting day focus goes on previous selected day
Describe the bug
When you select a date with keyboard, focus goes to previous selected day. When open is true
To Reproduce Steps to reproduce the behavior:
- Go to (https://reactdatepicker.com/#example-open-to-date)
- On the first default example add
openproperty for<DatePicker /> - Select day press arrow to select other day and press enter
- See that focus goes on previous selected day.
Expected behavior Focus remains on selected day
Screenshots
https://user-images.githubusercontent.com/49157108/169303234-7a07bb77-febd-472b-8d92-544a494dcd60.mov
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 10 days.
This issue was closed because it has been stalled for 10 days with no activity.