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

[Bug] openOptions arent passed on to InfoWindow #253

Closed
Freundschaft opened this issue Mar 10, 2024 · 1 comment
Closed

[Bug] openOptions arent passed on to InfoWindow #253

Freundschaft opened this issue Mar 10, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Freundschaft
Copy link
Contributor

Description

im implementing a filter where im displaying the markers based on a text input.
these markers have infowindows, and when the filter changes, the infowindow gains focus and takes it away from the text input.
in InfoWindowOpenOptions there is an option shouldFocus which somehow is not possible to add to the infowindow component, I assume this is a quick fix, passing on the option should do the trick. (https://github.com/visgl/react-google-maps/blob/main/src/components/info-window.tsx#L96)

Steps to Reproduce

im implementing a filter where im displaying the markers based on a text input.
these markers have infowindows, and when the filter changes, the infowindow gains focus and takes it away from the text input.
in InfoWindowOpenOptions there is an option [shouldFocus]

Environment

  • Library version: 0.7.1
  • Google maps version: weekly
  • Browser and Version: all
  • OS: all

Logs

No response

@Freundschaft Freundschaft added the bug Something isn't working label Mar 10, 2024
@Freundschaft
Copy link
Contributor Author

ive added a pull request #254

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant