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

fix(map): set container position to relative #356

Merged
merged 1 commit into from
May 10, 2024

Conversation

usefulthink
Copy link
Collaborator

Introduction of the intermediate div with #349 indirectly broke relative positioning of elements withing the map-container.

Before that change, elements would be added to a container where position:relative was set by the Maps JavaScript API. This is no longer happening, so we need to set it ourselves.

Introduction of the intermediate div with visgl#349 indirectly broke relative positioning of elements withing the map-container.

Before that change, elements would be added to a container where position:relative was set by the Maps JavaScript API. This is no longer happening, so we need to set it ourselves.
@usefulthink usefulthink merged commit 7fa2b71 into visgl:main May 10, 2024
2 checks passed
@usefulthink usefulthink deleted the fix/map-container-position branch May 10, 2024 20:09
usefulthink added a commit to usefulthink/react-google-maps that referenced this pull request May 10, 2024
The change in visgl#356 did the right thing, but added the position:relative to the wrong element.
usefulthink added a commit that referenced this pull request May 10, 2024
The change in #356 did the right thing, but added the position:relative to the wrong element.
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

Successfully merging this pull request may close these issues.

None yet

1 participant