Description
Describe the bug
Hi, I am not sure it is a bug or a bad usage but we have been working on this problem for a few days. so, We have 3 lists, one is "unsorted" items and 2 are here to sort items. we can put items in the sorted but not in the unsorted. this one disappear when there is nothing in it. A button to enable and disable the DND and a button to add a new "sorted" list.
Only one state to handle all of this. This was how our app is made.
So everything works perfectly, but when you add a new list, you can't DND something from it or in it.the first lists are disabled (but the state is enabled). if you add two lists, you can DND between them two but not with the others.
and all of this doesn't happen if you don't have this disabled props
To Reproduce
Steps to reproduce the behavior:
- Go to https://codesandbox.io/s/hardcore-hertz-fo0m8
- Enable DND on the left side
- Play with the lists
- Add a new list
- First problem
- Add a new list
- try DND between the new two lists
Expected behavior
The expected behavior can be reproduce on the right side
Versions - Look in your package.json
for this information:
react-sortable = 2.0.11
react = 16.12.0