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

[Android] Date/Time PickerFields aren't similar enough cross-platform #49

Open
ssomnoremac opened this issue Aug 16, 2016 · 1 comment

Comments

@ssomnoremac
Copy link

Without building on iOS, I'm going by what I'm seeing in the README as how things look there. There is a drastic difference on the Android side. Focusing on the Date/Time fields, the DatePickerField will only being up a date picker but on iOS it looks date and time are nicely inline. So on Android and only Android I need to add an extra time picker? This doesn't seem ideal.

Can a pure js picker be used? Something like this. I think it would need to be modified but I think parity between platforms is worth it. The iOS version is pretty sleek though. It's a challenge to reproduce it but I'm game if someone can help me develop it out a bit.

@MichaelCereda
Copy link
Owner

Hi,
First of all, you can create any Custom Field you want that has any custom behavior you can think.

If i have to tell you the truth i followed the ReactNative guidelines, hoping that they will merge TimePicker and DatePicker on Android soon.

I'm also thinking to release a cross-platform component called DateTimePicker that can, under the hood switch component.

You should also note that ReactNative has the "learn once, write anywhere" phylosophy, so it's common to provide different components to different platform.

I'll leave this issue open until I'll release a cross-platform component, so others can comment.
Thank you

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