lorenzsell/Geocoded-Autocomplete — Issue #4: Safari shows popup behind other fields due to z-order issue
Author: drauschenbach
Created: 2011-11-09 04:05:04+00:00
State: open

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
````