Skip to content

Conversation

madmatt
Copy link

@madmatt madmatt commented Sep 9, 2025

Not sure if this is just my implementation, but this module doesn't work out of the box with SS5 without the following:

  • Add 'googlemapfield' class to the field (and not to the fieldholder)
  • Remove :visible psuedo-class trigger as the Google Maps callback function often triggers before the page is rendered (meaning the field is sometimes not yet visible as the HTML isn't rendered).

This does remove extraClasses from the holder template, not sure if this is a bad idea or not really - but the JS breaks without this as multiple elements match the .googlemapfield selector but only the inner field has the relevant data- attributes

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.

2 participants