Skip to content

onChange event and visible of spinner #965

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

Open
marijang opened this issue Mar 11, 2025 · 6 comments
Open

onChange event and visible of spinner #965

marijang opened this issue Mar 11, 2025 · 6 comments

Comments

@marijang
Copy link

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
Copy link
Author

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

@DreamakerDimas
Copy link

Same issues, also using RN0.77

@willyrabbits
Copy link

willyrabbits commented Mar 25, 2025

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
Copy link

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.

@Aliveing
Copy link

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

@tuannguyenhoangit-droid

Temporary solution that is comment ifndef

Image

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

5 participants