When searching in the dropdown, the first result should be autoselected
Open
Nobody has claimed this yet.
hours
P4
- Dominant language
- Python
- Stars
- 1.7k
- Forks
- 611
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 49
Description
Steps to reproduce:
- Go to https://pontoon.mozilla.org/search/
- Click the locale field and start searching for a locale.
Expected results:
The first matching locale is autoselected, enabling quick keyboard navigation.
Actual results:
No locale from the results is selected; additional pressing of the Down arrow key is required.
This applies to all dropdowns, not just the locale selector on the Search page.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the locale dropdown on the Search page and trace the shared dropdown behavior used by the other selectors. Reproduce the search interaction, then verify that the first matching locale is selected and keyboard navigation works without an extra Down-arrow press across all dropdowns.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100