The input type=date doesn't close when calling blur()
Reported by
math...@medici.md,
Apr 4 2017
|
||||
Issue descriptionSteps 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
,
Apr 5 2017
,
Apr 6 2018
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
,
Apr 9 2018
|
||||
►
Sign in to add a comment |
||||
Comment 1 by schenney@chromium.org
, Apr 5 2017