Closed Bug 1181490 Opened 5 years ago Closed 3 years ago

[Messages][Recipients] Email recipient is misaligned in "edit" mode

Categories

(Firefox OS Graveyard :: Gaia::SMS, defect, minor)

ARM
Gonk (Firefox OS)
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: azasypkin, Unassigned)

References

Details

(Whiteboard: [sms-papercuts])

STR:

1. Open Messages app and enter New Message view;
2. Enter email recipient (e.g. a@a.a) and enter "," to assimilate it;
3. Press _backspace_ to edit just entered recipient;

Expected result: currently edited recipient should be aligned in the same way as it was when entered for the first time;

Actual result: currently edited recipient has too big left padding.

It happens because of the fact that we set big enough left padding to accommodate email icon when recipient is assimilated, but don't remove it when recipient is in edit mode. Issue doesn't occur when user taps on email recipient to edit it as in this case recipient pill gains :hover state (and associated BB :hover rule) that removes padding.

So in this bug we want to set left padding only for the assimilated recipient pill (contenteditable=false) and remove padding manipulation from BB :hover style.
Mass closing of Gaia::SMS bugs. End of an era :(
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
Mass closing of Gaia::SMS bugs. End of an era :(
You need to log in before you can comment on or make changes to this bug.