New issue
Advanced search Search tips

Issue 705275 link

Starred by 9 users

Issue metadata

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



Sign in to add a comment

Input event not triggered on browser autocomplete

Reported by marteau....@gmail.com, Mar 26 2017

Issue description

Steps to reproduce the problem:
1. Use provided file and access it from Chrome IOS
2. Begin to tap an e-mail in the input
3. Select an already registered e-mail from the keyboard list
4. See that the Input event has not been triggered (only the change event is being triggered)

What is the expected behavior?
The "input" event should be triggered on autocomplete, as it is in the desktop browser and as the other browsers do it (Safari mobile)

What went wrong?
Only the "change" event is triggered. 

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 57.0.2987.100  Channel: stable
OS Version: 10.2.1
Flash Version:
 
demo-chrome.html
562 bytes View Download

Comment 1 by phistuck@gmail.com, Mar 26 2017

Does it work using Safari for iOS?
And in case you have a webview application to check, does it work using WKWebView?

If it works in the former and not in the latter, it is a WKWebView bug and you can file a Radar issue with Apple.
Yes, it works using Safari for iOS, the input change is triggered. I don't have any webview application to check that, but I uploaded the form on this URL: martar.fr/demo-chrome.html 

How could I easily check if this is due to WKWebView? 

Comment 3 by phistuck@gmail.com, Mar 26 2017

Firefox seems to be using WKWebView, so if you can reproduce using Firefox, that would probably prove it.

And you probably meant "the 'input' event is triggered" instead of "the input change is triggered". :)
Yes, that was indeed what I wanted to write, but we can't edit our comments :)

I tried on Firefox but I fail in saving an email into the browser so I can't reproduce the issue..
Components: Mobile>iOSWebView UI>Browser>Autofill
Status: Untriaged (was: Unconfirmed)
I forgot the automatic completion is a Chrome feature and not a WKWebView feature.
Here is the code -
https://cs.chromium.org/chromium/src/ios/web/web_state/js/resources/common.js?q=_gCr&sq=package:chromium&dr=C&l=258
It simply fires the "change" event and nothing else.
Ok thank you! So do you think that this should be changed, or web apps should adapt to this behaviour? 

Comment 7 by phistuck@gmail.com, Mar 26 2017

It seems like a bug to me, but I am a user just like you. :)
The team will decide whether this needs to be fixed.

Comment 8 by edchin@chromium.org, Mar 27 2017

Labels: M-58
Owner: mahmadi@chromium.org
Status: Assigned (was: Untriaged)
Components: -Mobile>iOSWebView
Cc: mahmadi@chromium.org olivierrobin@chromium.org dvadym@chromium.org
 Issue 813175  has been merged into this issue.
Status: Fixed (was: Assigned)
Fixed with https://chromium-review.googlesource.com/c/chromium/src/+/771674

Sign in to add a comment