开发者

Autocomplete jQueryUI appears below the lower edge of visible screen in IE

开发者 https://www.devze.com 2023-01-22 16:22 出处:网络
I have problem with Autocomplete, it works well in all browsers except for IE. I have it positioned inside <td> (and <tr> and <table> of course) that is inside <div> that has C

I have problem with Autocomplete, it works well in all browsers except for IE. I have it positioned inside <td> (and <tr> and <table> of course) that is inside <div> that has CSS like this:

left: 10px; top: 400px; position: absolute; width: 350px; 

none of its parrent elements have positi开发者_如何学JAVAon/width modified in any way.. Yet when I type into the input that is autocompleted the selection list appears right under lower edge of the screen (no matter where that is in relation to input element).

Don't know if this has some inpact but the input and it's parrent <div> are hidden and shown dynamically (using prototype).. jQuery is used by using var $j = jQuery.noConflict().

Do you have any idea how to fix this issue?


Your question seems a bit vague but I'll just point out that when absolutely positioning an element within another element the parent element must be relatively positioned.


For anyone that might be interested.. This was bug, that was fixed in newer version of jQueryUI.

0

精彩评论

暂无评论...
验证码 换一张
取 消