Teddy C
2006-Nov-09 18:06 UTC
wrong position by dragging element from one sortable list to another in a scrollable div
Hi,
I''m playing with sortable example
\scriptaculous-js-1.6.5\test\functional\sortable6_test.html
- I bring the 2 lists into a single scrollable div
- allow they exchange entry like in sortable4_test.html
the code seems to be
Sortable.create(''thelist2'',{dropOnEmpty:true,containment:["thelist2","thelist2-mod"],
scroll:''scroll-container''});
Sortable.create(''thelist2-mod'',{dropOnEmpty:true,containment:["thelist2","thelist2-mod"],
scroll:''scroll-container''});
Then I try to drag the entry with checkbox from 2nd list to above one.
the hover effect shows that sometimes the hover position is wrong.
By releasing the entry with checkbox will fly into the wrong place.
I made a screeshot: DnD1.jpg
and attached the my changed code: sortable6_test1.html
It would be nice if you Gurus can take a look at them
greetings
Teddy
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---