Skip to content
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

placeSelect is not working on React + TypeScript #10

Open
rakss17 opened this issue Jul 23, 2023 · 8 comments
Open

placeSelect is not working on React + TypeScript #10

rakss17 opened this issue Jul 23, 2023 · 8 comments

Comments

@rakss17
Copy link

rakss17 commented Jul 23, 2023

Can someone please help to resolve this problem. Thank you

@voravor
Copy link

voravor commented Aug 16, 2023

Commenting out

geocoderAutocomplete.current.off("select", onSelect);
makes the placeSelect callback start to work. Not a real solution, but a workaround.

@josephkearney91
Copy link

josephkearney91 commented Oct 26, 2023

Having the same issue!

In case it helps anyone else - I found someone who implemented a work around here:
neioox@c5eee3c

@solshk
Copy link

solshk commented Nov 23, 2023

Same problem here too
Im using only react 18.2.0. I downloaded the library with npm. Unistalled. Installed again.
Tried commenting"geocoderAutocomplete.current.off("select", onSelect);" in node_modules. Restarted everything.
placeSelect still not working.
Can someone help me?

@stevenkeezer
Copy link

is there a fix on the horizon for this?

@gab87
Copy link

gab87 commented Dec 19, 2023

the issue is given by react strict mode, when you build the project it works fine, so this is what i'm doing to debug values, just build the project and start a server. this doesn't mean they don't have to fix this :D

@LMarcinkowski
Copy link

Please fix that.

@katyabilokur
Copy link

I would like to ask as well to fix this :) Thanks

hovsepyan021 added a commit that referenced this issue Sep 6, 2024
1) A few package.json commands are not working after the major upgrade
2) Fixed the issue #10, by adding a cleanup function
hovsepyan021 added a commit that referenced this issue Sep 10, 2024
@geoapify
Copy link
Owner

It has been addressed in the latest version. Please check on your side, and we would appreciate any feedback you may have.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants