WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
226023
HTMLInputElement::setValueForUser should dispatch an input event
https://bugs.webkit.org/show_bug.cgi?id=226023
Summary
HTMLInputElement::setValueForUser should dispatch an input event
Liam DeBeasi
Reported
2021-05-20 09:13:38 PDT
Created
attachment 429177
[details]
Xcode app Given an email text field and a password text field, autocompleting on the password text field does not result in the email text field firing an input event. In this scenario, I am using the iOS Keychain manager to autofill both the email and password text fields. Expected Behavior: When autocompleting on the password text field, I would expect that the input event is fired for both email and password text fields since their values have changed. Actual Behavior: The input event is only fired for the password text field when initiating the autofill from that text field. Steps to Reproduce: 1. Download the attached Xcode application and deploy on an iOS device. 2. Open Safari Dev Tools and inspect this application. 3. Tap into the password text field and use the iOS Keychain to autofill an email/password combination. 4. Visually, both the email and password fields are filled, but only the password value is shown above the text fields. 5. Look at the dev tools console and you should see that the input event is only fired for the password text field. 6. Repeat these steps in Safari on
https://wizardly-easley-1439a0.netlify.app/
(This URL is what the webview loads). You should notice that the input events are fired for both the email and password text fields as expected. Other Information: - I can reproduce this on iOS 13 and iOS 14. - This is impacting Ionic Framework applications and has resulted in at least one app getting rejected from the iOS App Store, so it would be great if this could be looked at (See
https://github.com/ionic-team/ionic-framework/issues/23335
for more context)
Attachments
Xcode app
(30.28 KB, application/zip)
2021-05-20 09:13 PDT
,
Liam DeBeasi
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2021-05-27 09:14:15 PDT
<
rdar://problem/78571564
>
Jeff C Johnson
Comment 2
2022-04-05 00:02:52 PDT
I would like to add that we have an iOS app that is experiencing this bug so a fix would be very welcome.
Mischa
Comment 3
2022-08-08 13:09:14 PDT
I'm also experiencing this with iOS 16 beta 4. Very annoying bug. This is not only related to Ionic. We use Laravel with Livewire and Alpine for our website that we load in WKWebView.
Aidar
Comment 4
2022-09-14 02:55:45 PDT
Still actual for my app. Please fix this bug🙏
Scott VandenToorn
Comment 5
2022-11-03 10:09:08 PDT
I am also experiencing this problem.
Michael Catanzaro
Comment 6
2023-01-23 09:50:02 PST
If any of you who can reproduce this are comfortable with building your own WebKit, please test
https://github.com/WebKit/WebKit/pull/8957
and see if that fixes it for you. Probably will, but I'm a Linux dev so I can't be sure.
Aditya Keerthi
Comment 7
2023-01-24 10:24:22 PST
(In reply to Michael Catanzaro from
comment #6
)
> If any of you who can reproduce this are comfortable with building your own > WebKit, please test
https://github.com/WebKit/WebKit/pull/8957
and see if > that fixes it for you. Probably will, but I'm a Linux dev so I can't be sure.
I have confirmed that
https://github.com/WebKit/WebKit/pull/8957
fixes this issue.
Michael Catanzaro
Comment 8
2023-01-24 10:35:20 PST
***
Bug 250989
has been marked as a duplicate of this bug. ***
EWS
Comment 9
2023-01-26 10:19:01 PST
Committed
259434@main
(fd13c500871d): <
https://commits.webkit.org/259434@main
> Reviewed commits have been landed. Closing PR #8957 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug