I am having this same problem but adding position:relative makes the
issue worse in my case. The behavior I get is that I can drag the item
and the viewport will scroll and I can drop the item. Then if I try to
reposition or resize the item it will first drop to the bottom of the
page as if the number of pixels that the viewport is scrolled gets
added to the current position. Then if I try to move it again it jumps
to the top of the page to what appears to be the position it was
dropped in minus the distance the view port was scrolled. I haven't
made exact measurements but the movements all seem to be relative to
the distance that the viewport is currently scrolled. I will play with
it some more and try to get some more exact info but if anyone has any
thoughts please let me know. EC


On Oct 2, 3:10 am, wil <[EMAIL PROTECTED]> wrote:
> I was having this issue as well, and I was able to fix it by adding
> position: relative;
> to the parent of the draggable.
>
> w
>
> On Sep 19, 2:46 pm, "John Saterfiel" <[EMAIL PROTECTED]> wrote:
>
> > I think there might be a bug related to combining draggable andresizable.
> > The div I'm manipulating get's magically repositioned to the top of the
> > scrolling div.
>
> > When I use the javascript code:
>
> > $("#testme").resizable().draggable();
>
> > With this html code:
>
> > <div
> > style="height:200px;overflow-x:hidden;overflow-y:scroll"><table><tbody><tr> 
> > <td><div
> > style="height:1000px"><div id="testme" style="width: 228px;
> > height:157px;background-color:red">hi</div></td></tr></tbody></table></div>
>
> > Then you drag the div to the bottom of the scrolling div, resize the div,
> > then try to drag it again the div will be repositioned to the top of the
> > scrolling div.
>
> > Versions:
> > jquery 1.2.6
> > jquery-ui 1.5.2 and 1.6rc1
> > mozilla 3.x

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" 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/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to