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

Implement a drop pull #10196

Open
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
1 participant
@nosolosw
Member

nosolosw commented Sep 26, 2018

By offsetting the dropzone bounding box a certain amount of space, we can make transitions between zones smoother. So, although the cursor is outside the dropzone bounding box, it visually pulls the element to be dropped at it, like a physical/gravitational pull.

TODO

  • Automatically calculate the horizontal and vertical drop depending on the adjacent dropzones.

Examples

Drag horizontally

Before After
peek 2018-09-26 16-49 peek 2018-09-26 17-05

Drag vertically

Before After
peek 2018-09-26 16-51 peek 2018-09-26 16-44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment