-
-
Notifications
You must be signed in to change notification settings - Fork 67
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
iPhone closeOnSelection triggered by month and year dropdown #45
Comments
I don't have an iPhone, so not sure I'll solve this when I can't reproduce it. Would appreciate a PR |
Hi, the way we fix this issue was doing this change on the onFocusOut event: function onFocusOut(e: FocusEvent) { |
The way we have fixed it is by wrapping the DatePicker component inside a div and attaching a onFocusOut listener on the wrapper div and making visible true if the date is null/undefined
|
When a month or a year is selected, the whole calendar popup gets closed, which makes it impossible to select a date.
This seems to happen only on iPhones, it works fine on Android
The text was updated successfully, but these errors were encountered: