Closed Bug 1892896 Opened 2 years ago Closed 2 years ago

Resetting the search-bar contents loses focus on the input

Categories

(Thunderbird :: Toolbars and Tabs, defect)

Thunderbird 127
defect

Tracking

(thunderbird_esr115 unaffected, thunderbird127 affected)

RESOLVED FIXED
128 Branch
Tracking Status
thunderbird_esr115 --- unaffected
thunderbird127 --- affected

People

(Reporter: freaktechnik, Assigned: welpy-cw)

References

Details

Attachments

(1 external file)

STR:

  • Type something in the global search bar at the top of the window
  • (Click to dismiss the suggestions popup)
  • Click the clear button

Expected result:
The focus is on the text field of the search field.

Actual result:
The visible focus moves out of the search field.

We want to keep the focus on the text field, because that's the most logical place to have focus after clearing the field. The button is not available to keyboard navigation. I would also assume that in some cases when clearing the field, one would want to type in the field afterward.

Assignee: nobody → h.w.forms
Status: NEW → ASSIGNED
Target Milestone: --- → 128 Branch

Pushed by daniel@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/ce44ec7af8da
Focus search bar after reset. r=freaktechnik

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: