I've encountered the following bizarre behaviour with IE7. I'd
appreciate any input from someone who understands it or has seen it
before.

Problem: The dropdown container that holds the selections appears and
disappears immediately.

I've isolated it to the following: If the text on the page immediately
preceding the autocomplete div is 'too' wide, then the autocompleter
breaks in the manner described. If I narrow down the text preceding
the autocomplete div, then it works.

Example:
this fails:

<h2>Departure City</h2>
<%= f.text_field 'org_airport', :size => "20", :class => 'inputborder'
%>
<div class="auto_complete"
id="air_travel_record_org_airport_auto_complete" ></div>
<%= auto_complete_field :air_travel_record_org_airport,
          :url=>{:controller=>'airports',
          :action=>'autocomplete_airport_org_city'},
          :after_update_element=>'update_air_travel_record_view' %>

this succeeds:

<h2>From</h2>
<%= f.text_field 'org_airport', :size => "20", :class => 'inputborder'
%>
<div class="auto_complete"
id="air_travel_record_org_airport_auto_complete" ></div>
<%= auto_complete_field :air_travel_record_org_airport,
          :url=>{:controller=>'airports',
          :action=>'autocomplete_airport_org_city'},
          :after_update_element=>'update_air_travel_record_view' %>

Any advice?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to