Search code examples
angularjsgoogle-mapsgoogle-places-apiangular-ui-bootstrap

angularjs UI bootstrap modal with google places


I'm trying to open a Google Maps Places Autocomplete Address Form inside of a UI Bootstrap modal. My problem is that the google places dropdown is showing up behind the modal, Is there anyway to get it on top of the modal so you can see it?

Address Form https://developers.google.com/maps/documentation/javascript/examples/places-autocomplete-addressform

Bootstrap http://angular-ui.github.io/bootstrap/

Any help or Ideas would help a lot.


Solution

  • This turned out to just be a z-index issue, the problem was fixed with by adding the following to the CSS.

    .pac-container {
        z-index: 100000;
    }