mapbox / mapbox/mapbox-gl-geocoder
Geocode does not work with SwiperJS
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 388
- Forks
- 181
- PR merge metrics
- No merged PRs in 30d
Description
Take a look at this JSFiddle: https://jsfiddle.net/e59toaz4/
Make sure you expand the preview window so that you can see the geocode input. If you type/enter a place and click one of the suggestions, the map is not auto-positioned. However, if you hit return/enter after entering a place, it works as expected.
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
Reproduce the behavior in the linked JSFiddle, expanding the preview so the geocode input is visible. Compare selecting a suggestion with pressing Enter, and trace the geocoder selection path to determine why the map is not repositioned; done means both interactions auto-position the map.
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
- 45/100