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

(WIP) Separate sortable logic from Drag & Drop, and add generic Drag and Drop functionality #21

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

nspaeth
Copy link

@nspaeth nspaeth commented Jan 3, 2019

I need the functionality of cyclejs-sortable, along with other generic Drag and Drop functionality, so I started refactoring this to make cyclejs-sortable implemented via more generic Drag and Drop interfaces.

I'm making this WIP pull request as a kind of notice-of-intent, so that any issues can be discussed beforehand.

Modeling after react-dnd, I plan on adding:

  • dragSource and dropTarget wrappers, to allow for dragging between containers
    • makeSortable would then internally be implemented by a combination of these interfaces
  • A canDrop like interface
  • Custom dragPreview(ghosts) rendering

@jvanbruegge
Copy link
Collaborator

Thanks for going forward with this! I wanted to do something like this for a long time, but as it is not really needed for my direct work I never had the time for it.

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.

2 participants