Has anyone successfully got google.maps.places.Autocomplete working with a modal in Jhipster 4.6.1 / angular 4.2 ?
The problem is with the display of results (i verified the google lookup ajax request returns correctly), but the z-index of the .modal overrides the z-index of the google css for displaying the results => nothing appears.
This question has also been covered here: how to create google autocomplete in bootstrap modal in angular 2+?
and here: Google Place Autocomplete not showing in Bootstrap modal
..and I tried adding
.pac-container {
z-index: 1054 !important;
}
to the component scss, but it has no effect.
I can fix it manually via the console in chrome and see that it works.
This example below, show's a working example with angular2 + ngxbootstrap + modal:
https://embed.plnkr.co/N2Oiu5JzirOfUuA8Te3o/
...but I cannot (for the life of me) seem to override the .pac-container z-index when the google lookup is done. Any advice to get me out of the "house of pain" is much appreciated :-)