New issue
Advanced search Search tips

Issue 708155 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Android , Windows , Chrome , Mac , Fuchsia
Pri: 2
Type: Bug



Sign in to add a comment

The input type=date doesn't close when calling blur()

Reported by math...@medici.md, Apr 4 2017

Issue description

Steps to reproduce the problem:
1. Create a page with an <input type="date">
2. Click on it to give it the focus (it opens the date picker)
3. Call document.ActiveElement.blur()

What is the expected behavior?
The date picker should close when the input looses the focus

What went wrong?
The date picker stays open

Did this work before? No 

Does this work in other browsers? Yes

Chrome version: 57.0.2987.132  Channel: stable
OS Version: 6.0.1
Flash Version: 

I'm mainly working on mobile in cordova webview so it's the place I identified it first but I was able to reproduce it on mobile chrome as well (even if the date picker is not the same as in the webview somehow) and in chrome desktop using a setTimeout to to trigger the blur.

I'm not sure what the expected behavior is but in iOs safari it close the date picker as I expected it to do.

The blur works fine on all the other inputs I tested so far (text, password, email, number, phone) but those don't open a native component like the date picker
 
Components: Blink>Forms>Date

Comment 2 by tkent@chromium.org, Apr 5 2017

Status: Available (was: Unconfirmed)
Project Member

Comment 3 by sheriffbot@chromium.org, Apr 6 2018

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 4 by tkent@chromium.org, Apr 9 2018

Labels: -Hotlist-Recharge-Cold OS-Chrome OS-Fuchsia OS-Linux OS-Mac OS-Windows
Status: Available (was: Untriaged)

Sign in to add a comment