After some more searching and testing, I have found a solution.
Setting "includeScrollOffsets" to true in prototype.js fixes the
problem.
Still, I would be grateful for any other thoughts on this. I''d rather
not change prototype.js directly if possible.
On 23 Aug, 08:45, Lee
<lee_longm...-/E1597aS9LT10XsdtD+oqA@public.gmane.org>
wrote:> I have a div which contains a list of elements. Each element can
> receive other draggable elements. The div is scrollable to accomodate
> longer lists as I want a footer below the div to remain visible at all
> times.
>
> When scrolling is not enabled (short lists), the drag and drop works
> fine. Once scrolling is enabled though (longer lists) I find that I
> have to drag elements to what would appear to be the absolute
> coordinates of the target "receiving" element - that is, its
position
> if scrolling were not enabled.
>
> Help appreciated.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---