Giter Club home page Giter Club logo

Comments (3)

SamSamskies avatar SamSamskies commented on June 21, 2024 1

It didn't use to do that. Unfortunately, mapbox-gl-geocoder changed the behavior mapbox/mapbox-gl-geocoder#401. You might be able use some CSS wizardry to hack around this. Like maybe hide the suggestions unless the input is focused or something.

It might be worth it to roll your own geocoder component to fully customize how it works. You could fetch the data using the Mapbox API and then hook that up to your custom component.

from react-map-gl-geocoder.

SamSamskies avatar SamSamskies commented on June 21, 2024

You could also try rolling back to v2.0.13 which I think was using a version of mapbox-gl-geocoder that didn't display the suggestions when setting the input value.

from react-map-gl-geocoder.

victorneuret avatar victorneuret commented on June 21, 2024

Thanks for your answer. I understand that it is not possible for you to fix anything within this package. I'll see what I can do

from react-map-gl-geocoder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.