[jifty-devel] Autocompleter and absolute positioning errors

Jesse Vincent jesse at bestpractical.com
Mon Apr 28 10:33:53 EDT 2008


I know there was a bunch of work done on this after your mail, sterling.

At this point, does Jifty need this patch?

On Apr 21, 2008, at 6:05 PM, Andrew Hanenkamp wrote:
> Oops. Here's the attachment...
>
> On Mon, Apr 21, 2008 at 4:58 PM, Andrew Hanenkamp <sterling at hanenkamp.com 
> > wrote:
> I'm working on upgrading my app to run on the very latest Jifty  
> since the jQuery update. Things are going great and I appreciate all  
> the work that has gone in to make this work well. The one problem I  
> ran into was with the autocompleter acting odd. I posted this link  
> to the IRC channel earlier to demonstrate the issue:
>
> http://www.grabup.com/uploads/918c84302ffbfe61eb1ba3a0e5d3450d.png
>
> The problem is that our application uses "position:relative" to fix  
> some rendering issues with our template in IE6 and IE7. The  
> Interface iAuto plugin to jQuery, however, does not take this into  
> account while calculating the values for the "top" and "left"  
> parameters. Thus, the autocompleter is shifted over and down the  
> same amount as the main content of the page is shifted over by the  
> border and down by the header.
>
> I have attached a patch that corrects the problem. However, it  
> relies upon the jquery.dimensions.js plugin (which I have already  
> included in my application because I also use the ui.accordion.js  
> plugin for jQuery). Here's a link for the Dimensions plugin:
>
> http://brandonaaron.net/docs/dimensions/
>
> You can find the description for the position() method from the API  
> tab on that page. I'm posting this to the list in hopes we can come  
> up with a fix for this that will make everyone happy. In the  
> meantime, I've embedded the patched iautocomplete.js in my  
> application.
>
> Cheers,
> Sterling
>
> <iautocompleter-better- 
> position.patch>_______________________________________________
> jifty-devel mailing list
> jifty-devel at lists.jifty.org
> http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.jifty.org/pipermail/jifty-devel/attachments/20080428/1a8abf74/attachment.pgp 


More information about the jifty-devel mailing list