Ruby Forum Rails Spinoffs > Droppable with overflowing elements in scrolling DIV

Posted by Vernon T. Bludgeon (Guest)
on 15.05.2008 20:47
(Received via mailing list)
I have a DIV containing a TABLE whose TR elements are Droppable. The
DIV has a fixed height and overflow set to auto. The onDrop callback
works fine when you drop onto the rows that are initially visible, but
if you scroll down and try it with a newly visible row, you get the
right behavior with the wrong row. At least, wrong from my point of
view (-: It's like "it" (the browser? Scriptaculous?) doesn't know we
scrolled down.

This is with Firefox 2.0.0.12 on Fedora 7.

Example: http://vernontbludgeon.com/sandbox/dragdrop_problem.htm

I would love it if someone could suggest a workaround or tell me what
I am doing wrong.

Bowing deeply in gratitude,

vtb