drag&drop inside overlow (scrolling) div: scroll position not taken into account
Reported by John Vannoy | July 18th, 2008 @ 08:12 PM
When a draggable is inside a scrolling overflow div, the scroll position is apparently not being taken into account when determing what element it was dropped onto: the wrong droppable element is passed to the onDrop callback. Simple page to demo this bug is attached.
Thanks,
John
Comments and changes to this ticket
-

John Vannoy July 22nd, 2008 @ 04:46 PM
I included the dragdropextra.js from here:
http://www.iterativedesigns.com/...
And the problem is fixed.
Thanks,
John
-
Steven Haddox August 22nd, 2008 @ 02:12 AM
This seemed to solve my problem with dragging and dropping inside a scrollable area with overflow:auto. The dragged item doesn't quite stay under the cursor all the time, but at least it drops where the cursor is.
Thanks Iterative Designs!
-

Andreas Simon September 16th, 2008 @ 11:42 AM
- → Tag changed from drag draggable drop scrolling to drag draggable drop scrolling
We had luck solving this with the attached patch.
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
script.aculo.us is an open-source JavaScript framework for visual effects and interface behaviours.
Source available from github
The Git repository resides at:
http://github.com/madrobby/scriptaculous
Check out the current development trunk with:
git clone git://github.com/madrobby/scriptaculous.git
As script.aculo.us 1.xx is feature-frozen, this development trunk is for bugfixes only.
New development should happen only for
script.aculo.us 2.
Creating a bug report
When creating a bug report, be sure to include as much relevant information as possible. Post a an example that shows off the problem. Preferably, alter the unit tests and show through either changed or added tests how the expected behavior is not occuring.
