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

Blocked date typed into a DatePicker is recognized as a valid date (calendar is losing focus and date is selected)) #1915

Closed
EddieJostell opened this issue Jan 31, 2020 · 0 comments · Fixed by #1919

Comments

@EddieJostell
Copy link

react-dates version
react-dates@18.3.1

Describe the bug
Manually typing a blocked date into DatePicker makes a blocked date become selected.

Steps to reproduce

Step 1: 
Go to the playground.
https://airbnb.io/react-dates/?path=/story/sdp-day-props--blocks-fridays

Step 2: 
Manually type 02/28/2020 into Datepicker input field. (a blocked date).

Step 3:
Calendar is losing focus and a blocked date is now selected in the calendar and input field.

Desktop (please complete the following information):
Possible to reproduce on desktop.

Is the issue reproducible in Storybook?
https://airbnb.io/react-dates/?path=/story/sdp-day-props--blocks-fridays

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant