Bug 172567 - Safari autofill doesn't work in form inputs that are in a shadow root
Summary: Safari autofill doesn't work in form inputs that are in a shadow root
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks: 148695
  Show dependency treegraph
 
Reported: 2017-05-24 17:57 PDT by Taylor Savage
Modified: 2021-11-17 08:23 PST (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Taylor Savage 2017-05-24 17:57:11 PDT
Autofill for form input fields such as credit card fields, email addresses, etc. doesn't appear to work for form inputs that are inside shadow roots.

Reproduction:

1) Go to polymer-shop2.appspot.com
2) Tap on "men's outerwear"
3) Tap on "Men's tech shell full-zip"
4) Tap on "Add to cart"
5) Tap on the cart icon on the upper right
6) Tap on "Checkout"
7) Tap in the "Email" field

Expected:
The autofill selector should appear to enable you to autofill from a contact.

Result:
No autofill appears supported.

This is also the case for other fields I'd expect to autofill, like "Card Number"
Comment 1 Radar WebKit Bug Importer 2017-05-24 21:02:28 PDT
<rdar://problem/32394943>
Comment 2 Samuel Sheldon 2021-11-10 05:58:03 PST
I have tried this in iOS 15.1 and this issue is still not fixed. 

This is a critical feature for many developers, is there any way to get an estimate on a fix? Or at the very lease a temporary work around or solution we can use in the mean time?

Any update or assistance you can give will be helpful, thanks!
Comment 3 Samuel Sheldon 2021-11-17 08:23:33 PST
Any update on this issue?