Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accessibility issue - when date picker closes focus does not return on input #3635

Closed
TautvydasPetrauskas opened this issue May 19, 2022 · 0 comments · Fixed by #4285 or jones58/personal-knowledge-wiki#29 · May be fixed by rowidanagah/EduMentorMate#9

Comments

@TautvydasPetrauskas
Copy link

TautvydasPetrauskas commented May 19, 2022

Describe the bug
When date picker closes pressing Escape or when shouldCloseOnSelect property is passed, focus does not return on input

To Reproduce
Steps to reproduce the behavior:

  1. Go to (https://reactdatepicker.com/#example-open-to-date)
  2. On the first default example add shouldCloseOnSelect property for <DatePicker />
  3. Open date picker and select a date or press Escape
  4. See that focus does not return on input.

Expected behavior
After close focus suppose to go on input.

Screenshots
If applicable, add screenshots to help explain your problem.

Screen.Recording.2022-05-19.at.17.07.57.mov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment