Hi everybody,

Could somebody have a look at a little sortable example at

http://www.weisshuhn.de/diagnose/sortable.html

It implements two Sortables and a Draggable. You can drag elements from the "source" Sortable to the main Sortable, sort them (surprise) and drag them to a trash. Whenever you drag from the "source", a new element is created (by cloning an invisible element) in the "source".

There is a problem though: The dynamically created elements do not always slide to their correct positions when moved for the second or third time and keep their wrong offset ever after.

Since I kept close to the original two-Sortable demo from the webside, I can only assume, this is a bug or unthought-of case in the scriptaculous lib.

It happens on IE, Mozilla and Safari.

Any comments are highly welcome.

Alexander Presber
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to