Open kasvith opened 1 year ago
@kasvith did you set the min-height for the last droppable? it looks like it has 0 height
@vldnovikov no, droppable is even outside the collapse element. I checked the height is always there
I updated example and provided a codesandbox
@kasvith did you manage to find a fix for this? I'm having the same issue with headless ui and it's disclosure component.
No luck
@kasvith did you happen to find a solution to this? i am running into the same issue.
@Voxz-ai i changed the UX avoiding the collapsibles
For anyone else reading this, i was able to get it to work using MUI Accordion. If you are still working on it you should give that a try.
Cheers!
Problem:
<SortableContext />
)<SortableContext />
to sort internal content. They also containuseDroppable
,useDraggable
hooksDragOverlay
which uses a portalEverything works fine until we close a collapse. Then nothing works correctly (We are using antdesign, but i tried using
headlessui
also. Same result)We arent using
useSortable
insideDragOverlay
What might be the issue?
https://user-images.githubusercontent.com/13379595/211312743-83c8821b-51fe-45d3-9516-57214bcb905f.mp4
Reproducible: https://github.com/kasvith/dndkit-collapsible-reproduce Codesandbox: https://codesandbox.io/p/github/kasvith/dndkit-collapsible-reproduce