Geocoded-Autocomplete icon indicating copy to clipboard operation
Geocoded-Autocomplete copied to clipboard

Safari shows popup behind other fields due to z-order issue

Open drauschenbach opened this issue 13 years ago • 0 comments

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

drauschenbach avatar Nov 09 '11 04:11 drauschenbach