Open Bug 2058704 Opened 3 months ago Updated 3 months ago

Account hub input with moving label has label selectable when it is in the placeholder position

Categories

(Thunderbird :: Account Manager, defect)

Thunderbird 153
defect

Tracking

(thunderbird_esr153 wontfix)

Tracking Status
thunderbird_esr153 --- wontfix

People

(Reporter: freaktechnik, Unassigned)

References

(Blocks 1 open bug)

Details

STR:

  1. Create a new email account with account hub
  2. have an empty email address field on the initial step
  3. click and then slightly move the mouse horizontally on the "Email address*" label

Expected result: the click activates the input and the label moves to the top of the field

Actual result: the text in the label is selected

The solution here is probably to just disable pointer events on the label while it's over the input. Though maybe we also want to explicitly disable text selection in that state. I think it's OK to still allow selection when it's in the outside label position, but we could also disable text selection there.

For this case I do not think we should disable pointer events clicking the label should focus the input and just incase anything ever happens where it renders out of place not on top or to prevent click targeting weirdness we want to keep that semantic. We should just disabled text selection while its over the input and ideally restore it once its moved so its possible to copy if some one wants to for some reason. the initial disable should not present a problem because as soon as they clicked to copy it would move anyway.

You need to log in before you can comment on or make changes to this bug.