I am trying to add Google Maps autocomplete input to my ionic application. It works very well, except when I scroll. As shown in the image:
Scrolling definition error
So I tried different things, such as changing the position of the .pac container, but this does not solve the problem. When I check the page, it seems that the result container is loading at the end of the page, so itβs not easy to get the block to stick to the input panel.
I already searched everywhere and did not find a suitable solution? Does anyone have an idea how to do this? (This is actually just simple code:
function initialize() { var options = {componentRestrictions: {country: 'uk'}, types: ['geocode']} new google.maps.places.Autocomplete( (document.getElementById('autocomplete')), options); } initialize();
jsfiddle
Thanks in advance, Robin Fourcade.
source share