Cool! Please do investigate it.

The passing-through of the speed and sensitivity options should be more or less trivial, i guess.

-Thomas

Am 22.03.2006 um 21:15 schrieb Gregory Hill:


Anyone: Please give it good testing and report any problems you might
have.

Seems to work pretty well in Firefox 1.5, IE 6, and Opera 8.  Haven't
tested any others yet. All of these comments are based on testing it as
part of a Sortable, so they may not all apply to a regular Draggable.

One thing that I would personally prefer is to have it move the object
you are dragging by the amount it scrolls, so the item stays with the
mouse pointer.  It currently seems like it just catches up after you
stop scrolling, so it kind of jumps around sometimes.

Also, not all of the options are passed from a Sortable
(scrollSensitivity and scrollSpeed, specifically).

A cool option to add would be to have it start scrolling if any part of the dragged item is beyond the view of the page (instead of basing it on
the position of the mouse).  I'll see if I can't come up with a patch
for that.

Otherwise, looks pretty nice. Much cleaner than my implementation that
I sent to the list a while back.

Greg
_______________________________________________
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

Reply via email to