Multiple select, then drag and drop
Gerarca opened this issue · comments
Describe the bug
I have 2 list, and I just want drag and drop objects from one list to another, each item have checkbox for select elemet, so I select multiple items through the checkbox, I get this issue:
Error Objects are not valid as a React child (found: object with keys {name, checked, array}). If you meant to render a collection of children, use an array instead
so, immediately I update the function useDrag
on Items.js
component, but I'm getting the same issue, I have several weeks with this issue, and I don't know what's wrong? , I'm going to share the code with live reproduction:
Reproduction
Steps to reproduce the behavior:
- select one or several items of list left
- Try drag and drop on list right
- See error
Expected behavior
I just want Drag and Drop multiple items simultaneously
Screenshots
image list
what's wrong? what I'm doing wrong?
Thanks!!!