Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolves an issue with drop targets being incorrectly offset in a scrolled scroll container #33

Closed
wants to merge 1 commit into from

Conversation

Twipped
Copy link

@Twipped Twipped commented Feb 3, 2012

Fixes issue #32. When dragging draggables within a scroll container, the droppable does not register the scrollLeft or scrollTop of the scrolling container, resulting in a drop offset that is incorrect. This is particularly noticeable in Sortables when trying to drag down or to the right beyond the scroll limits.

There's still some weird stuff going on when dragging beyond the boundaries of the scroll container, the mouse position relative to the draggable gets altered so that the draggable is no longer below the cursor, but at least the item actually drops into the right place now. Hopefully someone more competent than I can figure out that bug.

@Twipped Twipped closed this Mar 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant