Hi David,

Thanks for your answer.
Unfortunately, setting 'Ghosting' option to true doesn't change
I tried to apply the patch given in ticket #5771 (http://
dev.rubyonrails.org/ticket/5771), and now, it almost works.
I can drag my Draggable outside the overflowed div, but, it that div
has been scrolled, the cloned object don't have the right position,
behind the mouse.
There's an offset, I think, due to the offset of the original element
in the scrolled div.

How can I fix this ?
Thanks a lot.

On 24 fév, 11:58, david <david.brill...@gmail.com> wrote:
> Hi tof,
> you draggables elements are contained inside parent, so when you try
> to dragg them, they are still inside the parent contener :))
> What you'll have to do is to use the ghost parameter that create a
> clone of the element which don't belong to the parent contener.
> Another way to do this is to create a callback on the "startDrag"
> callback and detach element from it's parent, then clone it's position
> to previous one. But with this method, you should reattach the element
> when the "stopDrag" effect appear.
> --
> david
> On 22 fév, 18:43, Tof <christophe.boul...@gmail.com> wrote:
> > Hi,
> > I'm sure this question has already been asked, but all answers and/or
> > patches I've found don't work for me.
> > I have some draggables inside an overflow:auto div.
> > When I try to drag one element, I can't drag it outside the parent
> > div.
> > I'm using scriptaculous 1.8.1, but I don't see any change concerning
> > this problem in 1.8.2 Changelog.
> > Does anybody have a solution/patch ?
> > Thanks a lot.
> > Regards.
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to