New issue
Advanced search Search tips

Issue 847059 link

Starred by 2 users

Issue metadata

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



Sign in to add a comment

Enter text with composition on date input will give focus to other input element

Reported by m.unar...@gmail.com, May 27 2018

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.4 Safari/537.36

Steps to reproduce the problem:
1. Focus input[type="text"]
2. Focus input[type="date"]
3. Enable IME
4. Hit any key which starts composition (i.e. A key)

What is the expected behavior?
Invalid inputs should be ignored without changing focus (same as Edge), or IME should be disabled on date/time input element (same as Firefox).

What went wrong?
The date input lose a focus, and text input which previously selected will get a focus.

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 66.0.3359.181  Channel: stable
OS Version: 10.0
Flash Version:
 
sample.html
44 bytes View Download
Labels: Needs-Triage-M66
Labels: Triaged-ET M-69 Target-69 FoundIn-69 OS-Linux OS-Mac
Status: Untriaged (was: Unconfirmed)
Able to reproduce the issue on chrome reported version 66.0.3359.181 and on latest chrome 69.0.3443.0 using Windows-10, Mac 10.12.6 and Ubuntu 14.04. As this issue is seen from M-60(60.0.3112.0), hence considering this issue as Non-Regression and marking it as Untriage.
Note: After enabling IME and hitting on 'A' key, along with focus changing to test field the letter got typed in Ubuntu 14.04 and Mac 10.12.6.

Thanks!

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

Components: Blink>Editing>IME
Labels: -M-69 -Needs-Triage-M66
Status: Available (was: Untriaged)
My wild guess is that Chrome remember last-text-editable-field, and IME inputs are routed to it instead of the focused input[type=date], which is not a text-editable-field.


I thought that Chrome allows to use IME on date input *always*, but it was incorrect.

Example A

1. Focus text input [IME is enabled]
2. Move focus to date input by TAB key [IME is still enabled]

Example B

1. Click the page to remove focus from any inputs [IME is disabled]
2. Click date input [IME is still disabled]

Sign in to add a comment