Heya,
I think something is wrong with the patch-- when moving outside the
window
on the top, when the window is completely scrolled up, the draggable
somehow
continues to move (tested on Safari and Firefox).
I'll add the passing through of the scroll options for the time being.
-Thomas
Am 22.03.2006 um 22:53 schrieb Gregory Hill:
I have two fixes in a text file. I created the diff using "diff -
u", so
I hope you can apply the patch. The file is attached.
I never could get my optional 'scroll when the dragged element goes
outside the scrolled element' thing to work. I got it to start
scrolling correctly, but then it would start making increasingly big
jumps and basically scroll out of control. I removed all the code
associated with it. Another issue I ran into is that my particular
page
has 'position: relative' on the draggable elements. IE cannot
determine
size on relative or absolute positioned elements for some reason.
So, I
just gave up for the time being. Anyone know of a way to get the
width
and height on positioned elements in IE?
Anyway, the patch fixes it so that the dragged element moves with the
scroll, even when the mouse cursor leaves the document, and it now
passes the scrollSensitivity and scrollSpeed from Sortable to
Draggable.
Greg
<diff.txt>
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs