You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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
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: