datetimepicker icon indicating copy to clipboard operation
datetimepicker copied to clipboard

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

Open luucambo-hue opened this issue 11 months ago • 9 comments

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

luucambo-hue avatar Dec 13 '24 07:12 luucambo-hue