mapbox / mapbox/mapbox-gl-geocoder
autocomplete results should appear after hitting enter while suggestions still loading
Nobody has claimed this yet.
- 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
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 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