You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
Logs
No response
The text was updated successfully, but these errors were encountered: