When an autocompletefield widget is contained within a block that has
the position:relative CSS attribute, the completion list does not
display directly below the entry box. I have opened a ticket at
http://trac.turbogears.org/turbogears/ticket/1060 with the following
patch in it.
Index: turbogears/widgets/static/autocompletefield.js
=================================================================== ---
turbogears/widgets/static/autocompletefield.js (revision 1733) +++
turbogears/widgets/static/autocompletefield.js (working copy) @@ -338,7
+338,7 @@
function getParentOffset(s,offsetType) {
var parentOffset=0; - while(s) { + while(s &&
computedStyle(s, 'position') != 'relative') {
parentOffset+=s[offsetType]; s=s.offsetParent
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---