Fix "Map container not found" error#181
Merged
itskovacs merged 6 commits intoitskovacs:mainfrom Feb 7, 2026
Merged
Conversation
Owner
|
Hi @razvicm 👋! Thanks for taking the time to work on a fix! Even though I can't reproduce the issue, multiple people are seeing it, so this helps a lot 😅 Could you confirm that these changes fix the issue for you? I'm just going to add a counter to ensure it doesn't get stuck in a loop and set the default center to Paris 👍 |
Contributor
Author
|
Yes, it fixes the issue for me 😄 . |
Owner
|
Thanks! 🤝 Please let me know if the issue happens again, I'll refactor the component to use |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This tries to fix the issue reported here - #141, where on shared trips, a "Map container not found" error was displayed and the map was black. This PR adds a retry mechanism and provides the map with a default center value (not providing it causes some issues with the initialization)

@itskovacs please review it when the time allows as this is not really my tech stack and I've struggled a bit to get the project running. Maybe providing some instructions on how to set up the project for development would be beneficial.
Thanks again for the great work on this app!