mozilla / mozilla/pontoon

When searching in the dropdown, the first result should be autoselected

Open
#4,444 0 comments 0 reactions 0 assignees View on GitHub

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:

  1. Go to https://pontoon.mozilla.org/search/
  2. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.