-
-
Notifications
You must be signed in to change notification settings - Fork 420
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
IOS App crash when try to show time Picker after hide DatePicker #951
Comments
Same issue here, use two buttons in one page, each button for a date setting, but after click the first button, click the second button result app crash |
我也遇到了,好多问题 |
if minimumDate and maximumDate not set, the app won't crash |
Confirmed the same issue: if I se 2 datepickers in one place, and have maximumDate or minimumDate in either, then opening/closing the 2 datepickers will always crash |
Having the same issue with the app crashing when setting the minimumDate and maximumDate in different locations. |
any feedback on this? |
Bug report
Summary
App crash when try opening timePicker after hiding DatePicker
Reproducible sample code
BoTest.zip
Steps to reproduce
I use 2 RNDatePickers , one is with date mode, another is with time mode.
I have a button to show / hide datePicker and a button show timePicker.
I set defaultValue of timePicker 1/1/1980 00:00:00 ( in Date type)
I have minimumDate for datePicker is today
When I set value of datePicker to the day which is not today (tomorrow etc)
then I hide datePicker. I click to show timePicker => App close
Environment info
Expo go SDK 52, Client version 1017638
npx react-native info
output:react-native depends on @react-native-community/cli for cli commands. To fix update your package.json to include:
"devDependencies": {
"@react-native-community/cli": "latest",
}
Time zone: (UTC + 07:00) BangKok, Hanoi, Jakarta
"@react-native-community/datetimepicker": "^8.2.0"
IOS 16.7.10
Iphone 8 plus
The text was updated successfully, but these errors were encountered: