draggable cause parent element move (IE6, jQuery 1.3.1, jQuery UI 1.6rc6)

draggable cause parent element move (IE6, jQuery 1.3.1, jQuery UI 1.6rc6)


Hi,
I tried to use the following code to a div element. The parent element
is an absolutely positioned div. Everytime I start to drag the
element, the parent element move to the left a few pixels. And also
the div can only move to 20px away from the parent element's edges.
$("#test").draggable({ containment: 'parent', scroll: true, grid: [20,
20] });
I then removed the grid option. That fixed the gap between the div and
parent's edges but still caused the parent element move to the left a
few pixels.
$("#test").draggable({ containment: 'parent', scroll: true });
Could you please help with this one ? Thanks.