datetimepicker icon indicating copy to clipboard operation
datetimepicker copied to clipboard

onChange event and visible of spinner

Open marijang opened this issue 9 months ago • 6 comments

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 avatar Mar 11 '25 01:03 marijang

i see that onChange is not triggering at all so baybe is problem in react native v0.77.1

marijang avatar Mar 11 '25 08:03 marijang

Same issues, also using RN0.77

DreamakerDimas avatar Mar 21 '25 15:03 DreamakerDimas

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.

willyrabbits avatar Mar 25 '25 09:03 willyrabbits

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.

willyrabbits avatar Mar 25 '25 15:03 willyrabbits

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

Aliveing avatar Apr 15 '25 07:04 Aliveing

Temporary solution that is comment ifndef

Image

tuannguyenhoangit-droid avatar Apr 30 '25 16:04 tuannguyenhoangit-droid