Geocoded-Autocomplete
Geocoded-Autocomplete copied to clipboard
Safari shows popup behind other fields due to z-order issue
I have fixed this issue for myself, for Safari OS X, by refraining from setting z-order to a negative value, which is known to cause problems with some browsers. I use the following code instead, which solves my problems, at least as far as Safari is concerned:
open: function(event, ui){
$("#" + map_frame_id).css("visibility", "visible");
$("#" + map_frame_id).css("z-index", "5");
$("#" + map_window_id).css("z-index", "5");
$(".ui-autocomplete").css("z-index", "0"); <== MY CHANGE HERE