mapbox / mapbox/mapbox-gl-geocoder

autocomplete results should appear after hitting enter while suggestions still loading

Open
#410 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

auto-triaged bug
Dominant language
JavaScript
Stars
388
Forks
181
PR merge metrics
No merged PRs in 30d

Description

if you quickly type a query and hit enter before the suggestions have appeared, then no suggestions will show and the first result won't be selected.

This can happen if a user wasn't expecting auto-complete and expected to need to hit enter for results to appear, then suddenly no results appear.

I think most users would expect this to just force the suggestions to appear and not actually select the first result.

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 by reproducing the behavior described in the issue: type a query and press Enter while autocomplete suggestions are still loading. The change is done when Enter causes suggestions to appear without selecting the first result; verify both the loading case and normal autocomplete behavior.

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
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.