Closed
Bug 1095056
Opened 10 years ago
Closed 10 years ago
Focus the FxA popup's email field
Categories
(Marketplace Graveyard :: Consumer Pages, defect, P2)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: mstriemer, Assigned: mstriemer)
References
Details
The FxA popup should automatically focus the email field when it loads. I'm not sure what the right event is to listen for to do the focusing. Setting `autofocus` on the input doesn't seem to work, probably because when the page loads it's just the splash screen that's visible.
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → mstriemer
Comment 1•10 years ago
|
||
(In reply to Mark Striemer [:mstriemer] from comment #0)
> The FxA popup should automatically focus the email field when it loads. I'm
> not sure what the right event is to listen for to do the focusing. Setting
> `autofocus` on the input doesn't seem to work, probably because when the
> page loads it's just the splash screen that's visible.
Yeah, you'll need to make sure the `<input>` element is in the HTML sent from the server. Then hide the element of screen and just use JS to set a class to toggle the `<input>`'s visibility.
Comment 2•10 years ago
|
||
Alternatively, when just call `document.querySelector('input[email]').focus()` on page load (but make sure it's visible).
Assignee | ||
Comment 3•10 years ago
|
||
Status: NEW → ASSIGNED
Assignee | ||
Comment 4•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Comment 5•10 years ago
|
||
Verified as fixed in FF36(Win7) in marketplace-dev.allizom.org
Postfix screencast: http://screencast.com/t/wGROiJnDPIuL
Closing bug.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•