One column drag
Your component is really great. It is simple and efficient. I believe that there is a problem when one want to have only one column and many rows. It is impossible to move items. Maybe because for moving one item you need to move an another on the right. Maybe it is possible to have a particular case for one column. Thank you in advance
You're totally right. The grid makes space horizontally, pushing items to the right. I've thought about adding a prop to allow users to change from horizontal to vertical, pushing items downward. I'll move ahead with it, after reading your comment.
Unfortunately, it's not an easy update. I've been planning a few updates along these lines. They're just going to take some time.
Thank you for your answer
Le ven. 22 mai 2020 à 05:11, twils0 [email protected] a écrit :
You're totally right. The grid makes space horizontally, pushing items to the right. I've thought about adding a prop to allow users to change from horizontal to vertical, pushing items downward. I'll move ahead with it, after reading your comment.
Unfortunately, it's not an easy update. I've been planning a few updates along these lines. They're just going to take some time.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/twils0/react-virtual-draggable-grid/issues/6#issuecomment-632454164, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABWQ7CBMYKGY6EPHW2UQLV3RSXUN3ANCNFSM4NDXF5XA .