Logicify / jquery-locationpicker-plugin

JQuery Location Picker plugin
MIT License
389 stars 260 forks source link

I am unable to get the location/address autocomplete working in bootstrap modal #48

Closed ketelsb closed 9 years ago

ketelsb commented 9 years ago

Location autocomplete does not seem to work in modal dialogs. The pulldown autocomplete menu is not showing.

It doesn't work in the example and the online demo.

Maybe there is an issue with bootstrap.

ketelsb commented 9 years ago

Found a workaround.

These pages suggest altering my CSS, but since I load my css on top of my page and my scripts at the bottom this didn't work: https://github.com/twbs/bootstrap/issues/4160 http://stackoverflow.com/questions/10957781/google-maps-autocomplete-result-in-bootstrap-modal-dialog

I just added this piece of jquery to my locationpicker implementation and it worked:

$(".pac-container").css('z-index: 1051');