You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've started looking at adding Drag&Drop for rows. Would like to gauge interest and thoughts on approach.
Using react-beautiful-dnd is the obvious choice as it's used for column DnD but, looking at #190 there are concerns that it's bloated, partly caused by dependency on react-redux. I also see that Atlassian aren't planning to actively work on react-beautiful-dnd and that material-table-core is likely to move to the react Context API and so good to lose the redux dependency. I've recently come across dnd-kit. Small (~10kb), zero dependencies and well documented. Interestingly it isn't based on HTML5 DnD, which I think would be fine for material-table-core. Thoughts on trying dnd-kit?
I'm thinking of draggable icon that can appear in action column to drive row DnD if it's enabled.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I've started looking at adding Drag&Drop for rows. Would like to gauge interest and thoughts on approach.
Using
react-beautiful-dnd
is the obvious choice as it's used for column DnD but, looking at #190 there are concerns that it's bloated, partly caused by dependency onreact-redux
. I also see that Atlassian aren't planning to actively work onreact-beautiful-dnd
and thatmaterial-table-core
is likely to move to thereact Context API
and so good to lose the redux dependency. I've recently come across dnd-kit. Small (~10kb), zero dependencies and well documented. Interestingly it isn't based on HTML5 DnD, which I think would be fine formaterial-table-core
. Thoughts on tryingdnd-kit
?I'm thinking of draggable icon that can appear in action column to drive row DnD if it's enabled.
Beta Was this translation helpful? Give feedback.
All reactions