New issue
Advanced search Search tips

Issue 838898 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Closed: May 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

Android: setting 'defaultValue' of input type=date from script does not cause UI update

Project Member Reported by smcgruer@chromium.org, May 2 2018

Issue description

Chrome Version: 68.0.3416.0 (and earlier)
OS: Android

What steps will reproduce the problem?
(1) Create an input type=date
(2) From script, set the 'defaultValue' to a value
(3) Observe the input element's rendered UI

What is the expected result?

The UI should update to show the default value (since there was no previous selection). This happens on desktop Chrome.

What happens instead?

The UI doesn't update; the date picker is blank. However if you select it, the date picker widget appears and shows that the default value is set.


See test case http://output.jsbin.com/vocunov 

 
Note that this comes from a React bug that they found and worked around, sadly without informing us at the time :(

https://github.com/facebook/react/issues/7233
Cc: pnangunoori@chromium.org
Labels: FoundIn-66 M-68 FoundIn-67 Needs-triage-Mobile Triaged-Mobile FoundIn-68 Target-68
Tested the issue in Android and able to reproduce the issue. Similar behavior is observed since Chrome #60.0.3072.0

Steps Followed:
1. Launched the Chrome Browser.
2. Navigate to the URL: http://output.jsbin.com/vocunov 
3. Observed that, default date (07/25/2015) is not displayed.
From the date picker, tap on the default date and tap on 'Set', still date is not displayed.
However, if the user selects any other date, selected date is displayed.

Chrome versions tested:
60.0.3072.0, 66.0.3359.126(Stable), 68.0.3416.0(Canary)

OS:
Android 8.1.0

Android Devices:
Pixel 2 XL

This seems to be a Non-Regression issue as same behavior is seen since M-60.  Untriaged for further input's on this issue.

Please navigate to below link for log's and screen cast--
go/chrome-androidlogs/838898

Note: 
1. This issue is not observed in Desktop.
2. Issue is not observed on FireFox mobile version.

Comment 3 by tkent@chromium.org, May 14 2018

Labels: -Pri-3 Pri-2
Status: Available (was: Untriaged)

Comment 4 by tkent@chromium.org, May 14 2018

Owner: tkent@chromium.org
Status: Started (was: Available)

Comment 6 by tkent@chromium.org, May 16 2018

Status: Fixed (was: Started)
 Issue 737387  has been merged into this issue.
> Note that this comes from a React bug that they found and worked around, sadly without informing us at the time :(

smcgruer@: (I work on React.) We weren't contacted about this Chrome workaround for React: https://chromium-review.googlesource.com/c/chromium/src/+/844324. Let's call it even?

In general we do try to file browser bugs when we notice them and hope you'll do the same for us.

Sign in to add a comment