Password autofill from keyboard doesn't work

Originator:svanberkel
Number:rdar://49600974 Date Originated:4/4/2019
Status:Open Resolved:
Product:iOS + SDK Product Version:iOS 12.2
Classification: Reproducible:Yes
 
Area:
WebKit

Summary:
When using username/password autofill from the keyboard ribbon in webkit views in apps, the password doesnt get filled out. Additionally it seems to delete the last character from the most recently selected input field.

Steps to Reproduce:
1. Make sure your keychain has a username/password entry for the bol.com app in your keychain
2. Open the bol.com app, tap the Login button (Inloggen)
3. Skip the modal keychain view that shows your user accounts to prevent the fields from being autofilled and submitted
4. Tap either the e-mail address (E-mailadres) or password (Wachtwoord) field to trigger the keyboard with keychain suggestions in the ribbon.
5. Tap one of the suggestions in the ribbon, and use Face ID / Touch ID / Code to attempt to have username and password filled in. (Nothing happens)
6. Put random text in the username or password field, repeat from step 4 and see the last character disappear.


Expected Results:
Username and password get filled in in the designated fields, worst case nothing gets deleted.

Actual Results:
Username and password do not get filled in, last characted in input field gets deleted.

Version/Build:
Tested on multiple iOS versions, really broken since iOS 12.2. Because we wanted to make sure this is an OS bug and not an app bug, we've also tested it in another app (Coolblue, one of our competitors, behavior is the same in their app.

iOS 12.1:
Everything still works as expected

iOS 12.1.2:
Last character gets deleted but username and password get filled in successfully after that (so this is weird but still functional)

iOS 12.2:
Last character gets deleted and nothing gets filled in (this is not functional anymore)


Configuration:
Before running app, in device go to Settings -> Password & Accounts -> AutoFill Passwords turn on

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!