Closed Bug 1557922 Opened 5 months ago Closed 2 months ago

[Translate.Next] After search results are fetched, input area steals the focus

Categories

(Webtools :: Pontoon, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: MikkCZ, Assigned: mathjazz)

References

()

Details

Attachments

(1 file)

When typing search slowly, it gets triggered and steals focus after first results are loaded.

STR:

  1. Open https://pontoon.mozilla.org/translate/cs/firefox/all-resources/.
  2. Click to the search field.
  3. Start typing search "Fire".
  4. Pause for a while for the search to start (to simulate e.g. short thinking about the search).
  5. When the search starts, continue typing "fox" or any arbitrary garbage to simulate long search terms.

Actual outcome:
After the search is triggered by "Fire" and finishes loading, the input area gets focus, so one cannot finish or fine tune the search terms.

Expected outcome:
The focus should stay with the search field, so typing "Fire" and then "fox" is the same as typing "Firefox" search at once.

Priority: -- → P3
Summary: [Translate.Next] after search results are fetched, input area steals the focus → [Translate.Next] After search results are fetched, input area steals the focus
Assignee: nobody → m
Status: NEW → ASSIGNED
Assignee: m → adrian
Assignee: adrian → m
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.