10
Views
3
Comments
Solved
[Google Places] Size of GoogleAutoComplete region
Question
google-places
Web icon
Forge asset by Ouen Worth

Hi,

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





Thanks


test.oml
2024-04-24 19-28-09
Justin Babel
Solution
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,
Justin
SchoolRunTest.oml
2021-04-17 17-51-40
George Jeffcock
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.
George

p.s. most likely will get a warning message and get the option to meger differences, will have a test.
2023-04-26 06-12-36
Ouen Worth
George,

Thanks fro the feedback.

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

Thanks
Ouen
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.