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

Map not loading when using matrix/neo #23

Open
josh-attwood opened this issue Sep 7, 2023 · 1 comment · May be fixed by #24
Open

Map not loading when using matrix/neo #23

josh-attwood opened this issue Sep 7, 2023 · 1 comment · May be fixed by #24

Comments

@josh-attwood
Copy link

This seems like a Google Maps loading issue. We are using this field inside of a Neo field so that someone can add multiple locations with some other variables. When I add a new block to the Neo field the map element does not load in, a refresh quickly solves the problem but would be great to get a fix for this as I can see it being an issue for the end user.

It seems as though the map is loaded on page load so does not get initialised when new fields are brought in via js. Maybe just needs a listener for new blocks being added?

@niektenhoopen
Copy link
Collaborator

@josh-attwood I am currently not able to test or fix this because I am a couple of weeks off, but your explanation of the cause absolutely makes sense. Would you be able to create a PR?

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 a pull request may close this issue.

2 participants