Open
Bug 1472712
Opened 6 years ago
Updated 2 years ago
Fix auto-focus behavior on the security code input element in payment method picker
Categories
(Firefox :: WebPayments UI, enhancement, P3)
Firefox
WebPayments UI
Tracking
()
NEW
People
(Reporter: prathiksha, Unassigned)
Details
(Whiteboard: [webpayments-reserve])
Attachments
(1 file)
(deleted),
image/png
|
Details |
Currently, we auto-focus on the security code input element in the payment method picker as a next step when a "change" event occurs on the payment method picker, which is usually fired by a user clicking on a payment method option from the select dropdown.
We can see us doing that here: https://searchfox.org/mozilla-central/rev/4074ba403219b7accdf00220b20dc492bfd4d83e/browser/components/payments/res/containers/payment-method-picker.js#116
We may want to find an alternative way to have this auto-focus behavior because this "change" event is also fired when we try to select a payment method option using a keypress, which causes the security code input element to steal focus and contain the typed text.
Updated•6 years ago
|
Priority: -- → P3
Whiteboard: [webpayments-reserve]
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•