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 · 7 comments
Open

placeSelect is not working on React + TypeScript #10

rakss17 opened this issue Jul 23, 2023 · 7 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

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

8 participants