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

IOS App crash when try to show time Picker after hide DatePicker #951

Open
luucambo-hue opened this issue Dec 13, 2024 · 1 comment
Open

Comments

@luucambo-hue
Copy link

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

@ShunL12324
Copy link

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

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

No branches or pull requests

2 participants