-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A bug is detected when the text is deleted and another address is returned. #21
Comments
@alberto-perdiguero contrary to a previous message I posted, I was able to replicate this bug - I had to set the
One way to deal with this is to simply set |
@alberto-perdiguero actually, this bug originated in the leaflet-geosearch module, and has been fixed there in a recent update. If you update to the latest version of this repo, which uses version 3.1.0 of leaflet-geosearch, that will resolve the problem. Note that this update hasn't been deployed to NPM yet, so you'll need to use the Github source until then. This issue can be marked as closed. |
This bug is still there in "leaflet-geosearch": "^3.3.2", if you add autoClose: true in geosearchoptions it will work fine geosearchOptions: { // Important part Here |
When you search for a new address without clicking on the close icon, but instead you delete the text and type again, the following error occurs:
Cannot create property '_leaflet_id' on string '193'.
If you press the close or search icon again, the component works again.
The text was updated successfully, but these errors were encountered: