I am using the google places autocomplete api and when I initialize the auto complete element autocomplete = new google.maps.places.Autocomplete($('#google_places_ac')[0], {})
it appends the .pac-container
to the body.
I have a div that is scrollable that this content is in so what happens is the .pac-container
is positioned absolute and when the div scrolls it does not scroll with it.
Is there any way I can get the .pac-container
to be inserted inside of my div and not at the end of the body?