Skip to content
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.

Support list items of variable height #56

Closed
wants to merge 1 commit into from

Conversation

ssafejava
Copy link

If a list is composed of items of varying height, when dragging a smaller item over a large item, one will see flickering as the placeholder is placed before the item, then after the item, and back again, infinitely.

jQuery-UI uses something approximating a dead zone, where the swap will only occur over an area equal to the item being dragged. For example, if dragging a 20px tall item over a 40px tall item, no swap will occur over the first 20px while dragging from above, or over the last 20px while dragging from below.

This small patch creates a deadzone inside larger items, resolving the flicking issue.

@voidberg
Copy link
Collaborator

This project has been discontinued by its author and the new mantained version is here.

Since the projects have diverged a while ago I can't migrate issues and pull requests. Please try the new version and if the issue or pull request still makes sense, please resubmit it.

Sorry for the inconvenience.

@voidberg voidberg closed this Nov 21, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants