mapbox / mapbox/mapbox-gl-geocoder

Two geocoders created instead of one

Open
#464 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I am following this example: https://docs.mapbox.com/mapbox-gl-js/example/mapbox-gl-geocoder-no-map/
It is creating two geocoders instead of one. I am using it with Next.js. Tested with Firefox and Brave/Chrome.

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 with the Mapbox GL JS geocoder no-map example linked in the issue and reproduce it in a Next.js application using Firefox or Brave/Chrome. Done means identifying why the example creates two geocoders and confirming that only one is created.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nextjs
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.