Row DnD + column visibility
Using the row dnd example, I tried adding the column visibility example code to the table. When toggling the drag handle on and off, it makes the drag handle not work. Anyone have any experience with this?
Alternatively I can disable dragging on SortableContext and drag the entire row, but I would greatly prefer to use a drag handle.
2 Replies
sensitive-blue•2y ago
what makes it not work?
graceful-blueOP•2y ago
Toggling the visibility of the drag handle off and on again. All drag functionality stops working
https://codesandbox.io/p/devbox/nice-mahavira-mt24tp?file=%2Fsrc%2Fmain.tsx
Here is an example. Togge drag-handle off and on, and it won't work anymore
Regenerating data seems to make it work again 🤔