-
Notifications
You must be signed in to change notification settings - Fork 11
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
exoflex: iOS custom DateTimePicker #217
Comments
The problem is, what is the expectation for the behaviour? Should we show it in a modal? But I'm not sure it will give a balance with the TimePicker that uses an Action Sheet. /cc @kodefox/infra |
I guess the fundamental reason why I brought this up is because the datepicker on iOS is so terrible. Furthermore, the rest of our components are loosely based on Material UI, except this one. Would it make sense to at least allow an option (for both the date picker and time picker) to use a custom implementation vs the iOS one. A more ambitious approach would be to use the custom one by default and provide a |
What do you think about this for iOS @sstur? |
I like it! Especially the calendar. Not sure about the up/down icons/buttons on the calendar. Kinda thinking we should make them left/right and also put the left arrow on the left side of the screen. Thoughts? Also, for the time interface, I'm not sure if I love that one, it feels a little like a poor imitation of the built-in spinner, so I'm wondering if we should do something that's not spinny. What does the android time picker look like? What about the current web one? Maybe meet with Vincent to brainstorm a few other options for the time picker. |
Yes, I also think of that. I think left-right should be the better UX for that because of the direction familiarity of the user.
I see. We were thinking to use iOS default's time picker for that. But I think you're right! |
+1 for using left/right instead of up/down.
This library imitate the android time picker on the web. |
@nathaniaelvina That looks good but I don't know about the arrow icons actually. That makes it a bit hard for the user to change the desired time, even harder than the default one or Android one as the user can't change it in one action. For example, if the user wants to change the hour to 7 then they must press the up arrow icon 3 times to make it happens. Of course, they could also use the keyboard to change it to 7 directly but that also requires more than one action. That's why I think that arrow icons may not be the best UX for mobile time picker. Thoughts anyone? |
Also, I came across these time picker designs from dribbble.com which quite interesting as it can change the desired time in one action similar to iOS default. source: https://dribbble.com/shots/6913765-Tasker-A-Task-Manager-App source: https://dribbble.com/shots/2231885--Sleepy-Time-Picker I know those two are not the best as they didn't become a trend for time picker UI. |
Yeah, that is a good alternative too. |
What do you think, @sstur? |
I just saw this DatePicker, I like it, but it's date only, no time picker. |
Is your feature request related to a problem? Please describe.
https://github.com/kodefox/oasis/pull/74#discussion_r351990526
tl;dr UX of iOS default DatePicker sucks
Describe the solution you'd like
Use calendar component for DatePicker but add a new prop to be able to use the default one.
Describe alternatives you've considered
None at the moment.
The text was updated successfully, but these errors were encountered: