-
Notifications
You must be signed in to change notification settings - Fork 336
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 new drag-and-drop engine #598
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
This will result in duplicate history entries if the item has a resolveData method. This is difficult to prevent without a deferredDispatch method, similar to that being explored in #598.
This will result in duplicate history entries if the item has a resolveData method. This is difficult to prevent without a deferredDispatch method, similar to that being explored in #598.
This will result in duplicate history entries if the item has a resolveData method. This is difficult to prevent without a deferredDispatch method, similar to that being explored in #598.
This will result in duplicate history entries if the item has a resolveData method. This is difficult to prevent without a deferredDispatch method, similar to that being explored in #598.
This will result in duplicate history entries if the item has a resolveData method. This is difficult to prevent without a deferredDispatch method, similar to that being explored in #598.
@chrisvxd This sounds very exciting. Dnd kit will really be a good upgrade. May I know, if there are any estimates of when this will be ready to use. Both stable and beta version of it. |
Thanks @princebansal - we don't have a timeline yet. It's slow progress as it's a non-trivial implementation. I would like to get it out by end of October in v0.17, but that's not based on anything! |
packages/core/components/DraggableComponent/collision/dynamic/index.ts
Outdated
Show resolved
Hide resolved
Causes a drop minor animation issue, which needs to be resolved upstream.
Previously, it was possible to have a null area even if a zone within it was active. This was likely due to nuances in the rendering, shadows or buffer zones. This would cause inconsistent behaviour and trigger deepest zone changes unexpectantly.
Implement a new drag-and-drop engine using the experimental dnd-kit release. This is a backwards compatible upgrade, focused on two new pieces of functionality:
Kapture_2024-11-23_at_17.36.04.mp4
This implementation includes additional periphery features:
Closes #556, closes #481, closes #123, closes #455, closes #520, closes #718
Testing
Quick start
0.17.0-canary.2d82115
Testing guide
"@measured/puck": "0.17.0-canary.XXXXXX"
What to test
Known issues
Invalid instance type
error onDragDropRegistry.register
NotFoundError: Failed to execute 'setPointerCapture' on 'Element': No active pointer with the given id is found.
(requires upstream fix)pointerup
event not being listened to on document changePointerSensor
dnd.disableAutoScroll
behaviour ignoreddragRef
(which should also be renamed toref
to make more generic)Low priority issues
Feedback
It's difficult to select the parent item, especially in custom interfaces - consider a "select parent" action in the action barImplementation details
NestedDroppablePlugin
for detecting the appropriate droppable when using nested layouts.Implementation tasks
elementFromPoint
.drag
permission behaviourBonus
Follow-ons