Hi
I ran into the following problem using jQuery-ui autocomplete. While using the newest Chrome (22.0.etc), the autocomplete dialog compensates the calculated left margin twice onto the location of the box. But on the next iteration (or letter) the position is calculated correctly and jumps to it's correct position.
I have a jsfiddle example here:
http://jsfiddle.net/KsNj9/
I've pinpointed the problem to jQuery.position()
There's a block starting at about line 9264 where it gets the left value for absolute positioned element for elements having auto as the calculated value and says
// need to be able to calculate position if either top or left is auto and position is either absolute or fixed
But if I don't and use 0 instead like Firefox does in those cases, I get the position correct every time. But since I don't want to use a hacky solution and dabble customizing jQuery, I'd like to know if somebody can think of an elegant workaround to this because I sure came up with nothing.
It seems to affect every jQuery-ui element if they are absolutely positioned and the content is centered using body { margin-left: auto; }