Closed Bug 1003201 Opened 10 years ago Closed 10 years ago

[FxAccounts] cursor is not placeable by touch when entering email account

Categories

(Firefox OS Graveyard :: FxA, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v2.0 fixed)

RESOLVED FIXED
2.0 S3 (6june)
Tracking Status
b2g-v2.0 --- fixed

People

(Reporter: njpark, Assigned: jhirsch)

Details

Attachments

(1 file)

STR:

- Go to Settings -> Firefox accounts, and click sign in or create new account button.
- type in email address.
- touch the middle of the typed text to place the cursor.

Expected:
- Cursor gets placed in the middle of the text.

Actual:
- Cursor does not move.  

workaround:
Have delete the text up to the point where the typo is, then retype.  In other apps, like the Firefox browser URL field, cursor does get placed.
Blocks: 996101
No longer depends on: 996101
No longer blocks: 996101
I believe we decided this was a platform issue. If it is, can you resolve it Invalid or similar? If it's not, could you assign it to :6a68 ? Thanks!
Flags: needinfo?(npark)
I think we need to look at this a bit because this does not happen with other apps.  I have found Bug 1001325 and Bug 868849, but haven't found the platform bug for this yet.  Jared, could you take a look at it please?
Flags: needinfo?(npark) → needinfo?(6a68)
Good eye, No-Jun!

The problem is indeed the same one from bug 868849. The FxA system app has a CSS file which contains:

    html, body * {
      -moz-user-select: none;
    }

I dunno what the motivation was for this, perhaps to make text in the panels unselectable.

Anyhow, I've got a patch together that sets -moz-user-select: text for inputs, which fixes this bug :-)
Flags: needinfo?(6a68)
Attached file Github PR 19503
Hey Fernando,

If you have a little time, here's a one-liner CSS review :-)

Cheers,

Jared
Attachment #8426551 - Flags: review?(ferjmoreno)
Assignee: nobody → 6a68
Attachment #8426551 - Flags: review?(ferjmoreno) → review+
Thanks Fernando!

Master: https://github.com/mozilla-b2g/gaia/commit/b4282cbf16425776645c300def79476cad78a6ba
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2.0 S3 (6june)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: