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

[TimePicker]: open native time picker on mobile devices #2450

Open
AlekseyManetov opened this issue Aug 6, 2024 · 0 comments
Open

[TimePicker]: open native time picker on mobile devices #2450

AlekseyManetov opened this issue Aug 6, 2024 · 0 comments
Labels
improvement Something that could be better

Comments

@AlekseyManetov
Copy link
Collaborator

Now

Now we are opening our own time picker dropdown for mobile devices, but our version doesn't provide such UX as native mobile time pickers, which is developed to work on mobile devices.

To Do

If user opens TimePicker on mobile device we should open native mobile time picker(depends on mobile OS).
image

For desktops let's leave current behavior as is.

Describe the solution you'd like (optional)

  1. For mobile devices we can try to swap our current TimePicker toggler implementation into <input type="time"> - which will open native mobile pickers. We can do it just by condition in render.
  2. Use <input type="time"> always as a toggler, but for desktop users we should disable native dropdown and show our own.
@AlekseyManetov AlekseyManetov added the improvement Something that could be better label Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Something that could be better
Projects
Status: Backlog
Development

No branches or pull requests

1 participant