datetimepicker
datetimepicker copied to clipboard
onChange event and visible of spinner
Using react native 0.77 i have problems:
- datepicker is not showing until i put style:{flex:1} now it shows but on change event is not working
i see that onChange is not triggering at all so baybe is problem in react native v0.77.1
Same issues, also using RN0.77
Using react native 0.77 i have problems:
- datepicker is not showing until i put style:{flex:1} now it shows but on change event is not working
@marijang I face the exact same issue with react-native: "0.77.0".
In my case everything works as expected in the simulator, but when I build and test in TestFlight is when I see the problem.
I am talking about iOS, I am not building for Android yet.
I've got my DateTimePicker to work by downgrading react-native to 0.76.7... I used this offical guide by react-native by undoing the changes.
ReactNative 0.79.0 still face same issue, I found a temporary solution, but it's not good
Change datetimepicker/ios/RNDateTimePicker.m line 26
- #ifndef RCT_NEW_ARCH_ENABLED
+ #ifdef RCT_NEW_ARCH_ENABLED
When debug RNDateTimePickerComponentView.m - initWithFrame which is not run at rendered,but RNDateTimePickerManager.m - init call RNDateTimePicker.m - initWithFrame
Temporary solution that is comment ifndef