Input event not triggered on browser autocomplete
Reported by
marteau....@gmail.com,
Mar 26 2017
|
||||||
Issue descriptionSteps 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:
,
Mar 26 2017
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?
,
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". :)
,
Mar 26 2017
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..
,
Mar 26 2017
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.
,
Mar 26 2017
Ok thank you! So do you think that this should be changed, or web apps should adapt to this behaviour?
,
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.
,
Mar 27 2017
,
Mar 29 2017
,
Mar 8 2018
Issue 813175 has been merged into this issue.
,
Mar 8 2018
Fixed with https://chromium-review.googlesource.com/c/chromium/src/+/771674 |
||||||
►
Sign in to add a comment |
||||||
Comment 1 by phistuck@gmail.com
, Mar 26 2017