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

New drag-and-drop engine #556

Open
chrisvxd opened this issue Aug 13, 2024 · 3 comments
Open

New drag-and-drop engine #556

chrisvxd opened this issue Aug 13, 2024 · 3 comments

Comments

@chrisvxd
Copy link
Member

Introduce a new drag-and-drop engine to resolve numerous issues:

  1. Support dragging between DropZone areas #123
  2. Support dragging on mobile (touch) #389
  3. Explore elimination of edit wrappers #455
  4. Feature request: DropZones support horizontal direction #520

Proposals

Proposal 1 - dnd-kit (preferred)

The new experimental dnd-kit release, whilst in early alpha, may resolve all issues 1 - 4. This is the solution currently being explored.

Proposal 2 - custom drag-and-drop library

Creating a custom drag-and-drop library may be more suitable for Puck's needs, and a POC has been created, but significant additional effort is needed to support 3 and 4.

Cross-cutting concerns

  • iframe support should be retained
  • retain existing animation curves
@Anishali2
Copy link

@chrisvxd I have expertise in dnd-kit can i start working?

@chrisvxd
Copy link
Member Author

@Anishali2 I appreciate that, but we're pretty far down the road now in #598 and just ironing out the last few bits with the dnd-kit team!

If you have any expertise in the experimental brand of dnd-kit, I may have some questions for you in the Discord!

@Anishali2
Copy link

@chrisvxd Sure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants