angularjs UI自举与谷歌的地方莫代尔 [英] angularjs UI bootstrap modal with google places

查看:146
本文介绍了angularjs UI自举与谷歌的地方莫代尔的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图打开一个UI引导模式内部的谷歌地图商家信息自动填充地址表。我的问题是,谷歌会将在下拉列表显示模式落后了,​​反正是有得到它的模式之上,所以你可以看到它?

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?

地址表<一个href=\"https://developers.google.com/maps/documentation/javascript/examples/places-autocomplete-addressform\" rel=\"nofollow\">https://developers.google.com/maps/documentation/javascript/examples/places-autocomplete-addressform

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

任何帮助或想法,将有很大的帮助。

Any help or Ideas would help a lot.

推荐答案

这被证明只是一个z-index的问题,这个问题是通过添加以下的CSS固定。

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;
}

这篇关于angularjs UI自举与谷歌的地方莫代尔的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆