-
Notifications
You must be signed in to change notification settings - Fork 935
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
InfoBox rerender when hover on marker (when state changes) #682
Comments
You didn't save so that the link doesn't contain maps code |
@tomchentw strange, I can see JS code clearly. Posting link again: https://liveweave.com/zbDKQn |
Thanks! May have spotted the issue. |
Released v9.2.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello guys, I just migrated form react-google-maps version 7.3.0 to 9.2.0. I am experiencing problematic behavior after migration (this problem seems to started to appear in 8.0.0 when infoBox component was rewritten to pureComponent). I have three markers on my map with custom icon. When I hover on marker, icon changes (state of component is is changed). When I click on the marker, infobox will show relatively to marker. But when infobox is opened and I hover on different marker, infobox disappear for a millisecond and shows again. State changes, because of icon change, but it seems that infobox is re rendered again as well (but did not experienced such behavior in 7.3.0). Does anybody have similar problem?
You can copy paste JS code from this link and put it to demo page, infobox section, to simulate such behaviour. Icons are default google maps icons, but icon changing code is implemented. Tested in Chrome.
The text was updated successfully, but these errors were encountered: