New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 847566 link

Starred by 5 users

Issue metadata

Status: Unconfirmed
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

TimePicker and DatePicker on Android unusable on rotation

Reported by emilyka...@gmail.com, May 29 2018

Issue description

Steps to reproduce the problem:
1. Access http://www.456bereastreet.com/lab/html5-input-types
2. Press the Date input type or Time input type
3. Rotate screen

What is the expected behavior?

What went wrong?
Because when rotating the screen the previous layout is kept, selecting a date can be impossible for the user.

GIF screen recording of TimePicker- user-images.githubusercontent.com/11428869/39921118-697b9d94-5522-11e8-88f0-6c22140e1f1f.gif

GIF screen recording of DatePicker - user-images.githubusercontent.com/11428869/39920849-45539012-5521-11e8-90f4-c734ad54d138.gif

To confirm, this is exactly what happens to Chrome 66 on Android also:
user-images.githubusercontent.com/11428869/40408520-8d219d82-5e70-11e8-9bdf-06850d2f3a52.gif

user-images.githubusercontent.com/11428869/40408368-f4efc516-5e6f-11e8-8d41-d9b92666697a.gif

Did this work before? N/A 

Chrome version:   Channel: stable
OS Version: 
Flash Version: Shockwave Flash 29.0 r0
 
Labels: Needs-triage-Mobile
Cc: sandeepkumars@chromium.org
Labels: Needs-Feedback Triaged-Mobile
Tested the issue using #66.0.3359.158 on Samsung J7; 7.0.0 as per the steps mentioned in original comment and could not reproduce the issue. Able to use the TimePicker and DatePicker dropdowns on orientation.

@Reporter: Could you please help us with Chrome version, OS and details of device for further triaging of the issue?

Thanks!!
Hi Sandeep,

I saw date/time problems on all devices I could test on.
This because Android's DatePicker and TimePicker libraries that Chrome uses are buggy.

A few recordings:
- Chrome 66 running on Samsung S7 with Android 7.0 - https://drive.google.com/file/d/1Jvu_kMvlIzKZl8-zm1jtODD0kg6o-4M4/view?usp=sharing
- Chrome 66 running on Huawei 6P with Android 8.0 - https://drive.google.com/file/d/1BUcqcmtKtc3fGxHJi5bv2WeF4lASl8Ca/view?usp=sharing
- Chrome 66 running on Samsung J3 with Android 5.1.1 - https://drive.google.com/file/d/13mg5PL7lpuLdSkUJTUvx18QwtBANsGhu/view?usp=sharing
Sorry, I forgot to include a recording of the TimePicker in action on the Galaxy S7.
Here it is:
Chrome 66 running on Samsung S7 with Android 7.0 - https://drive.google.com/file/d/1HRWMTW4eQOSiKKkqyqKhmvkbpnrMzHWo/view?usp=sharing
Tested the issue using #66.0.3359.158 on Nexus 6P, 8.1.0 as per the steps mentioned in original comment and could not reproduce the issue. Able to use the TimePicker and DatePicker dropdowns on orientation.

@Could you please check the same in latest stable and update?

Thanks!!
Hi Sandeep,

In all my recordings which show the issues on various devices running various Android versions I'm using the latest stable version of Chrome - 66.0.3359.158. As can be seen at the end of each video recording.

Here is another:
Chrome #66.0.3359.158 running on Sony Xperia Z5 with Android 7.1.1 - https://drive.google.com/file/d/1K4fjFUsceCJi2fikEaSvl-gM56LC9prH/view?usp=sharing
Could you please update Chrome to latest version #67.0.3396.68 and check if you still face the issue?

Thanks!!
Hi Sandeep,

I don't think anything changed in this regard between v. 66 and v. 67.

Here's a recording from
Chrome #67.0.3396.68 running on Moto E4 with Android 7.1.1 - https://drive.google.com/file/d/1L4GOZVbXGOC0eYxrgvBzLTiaTo3f1AaD/view?usp=sharing

Sign in to add a comment