Merge request branch selection: Firefox autofill is in the way of search results

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Summary

When selecting the branches for a new merge request, the Firefox search term suggestions get in the way of selecting a search result.

Steps to reproduce

  1. In any project, click to create a new merge request
  2. In the target branch selection field, start typing a search you've made often before (e.g. dev, mast)
  3. See the Firefox autofill suggestions overlay the GitLab search results, obstructing them
  4. Press arrow keys. It moves the cursor in both GitLab's search results and the Firefox autofill suggestions.
  5. At this point, pressing Enter will select a Firefox autofill suggestion, but pressing Esc will quit both the Firefox suggestions and the GitLab search.

What is the current bug behavior?

As described above, the autofill suggestions get in the way both visually and in terms of keyboard interactivity.

What is the expected correct behavior?

Autofill should be disabled for all fields that provide live search results, including this one.

Relevant logs and/or screenshots

image

Results of GitLab environment info

I don't have the privileges to check

Results of GitLab application Check

I don't have the privileges to check

Possible fixes

Add HTML attribute autocomplete="off" to all fields that give live search results, including this one.

Patch release information for backports

I don't know.

High-severity bug remediation

This is just a UX issue; doesn't look like an urgent bug to me.

Edited by 🤖 GitLab Bot 🤖