[Google Places] Size of GoogleAutoComplete region

[Google Places] Size of GoogleAutoComplete region

Forge Component
Published on 2017-04-03 by Ouen Worth
5 votes
Published on 2017-04-03 by Ouen Worth


Any idea how to remove the highlighted space which is present at runtime when using Chrome (have not checked others)? oml atttached


Hi George,

If you go into the GoogleAutocomplete module, and go to the AddressAutocomplete web block, you will see that there is three line breaks in between the scripts:

Also on the AutocompletePlaces web block, there are two more:

If you remove all of these line breaks, you will no longer have the space in between your map and input box, as seen in attached OML.

Let me know if this helps,
Hi Justin,

Thank you. I it never occured to me to change the component as if there are updates you have to redo (remember) to put the changes back in or infact upload a new version of the component. Infact I assumed the component would have been protected in my environment...so it is a copy which you can fork.

Many thanks again.

p.s. most likely will get a warning message and get the option to meger differences, will have a test.

Thanks fro the feedback.

The space padding issue has been fixed in version 1.2.0 of the component.