Closed RomanProkhodsky closed 4 years ago
When the user drags the item out of the list and drops it outside, it should be deleted. The item shouldn't go back to the list.
The item goes back to the list and then deleted.
Drag the item, drop it outside of the list.
Switch off drop animation, but how?
React
^16.8.0
react-beautiful-dnd
12
Chrome
https://codesandbox.io/s/react-beautiful-dnd-ndjwl
Here you go: skip the drop animation
Expected behavior
When the user drags the item out of the list and drops it outside, it should be deleted. The item shouldn't go back to the list.
Actual behavior
The item goes back to the list and then deleted.
Steps to reproduce
Drag the item, drop it outside of the list.
Suggested solution?
Switch off drop animation, but how?
What version of
React
are you using?^16.8.0
What version of
react-beautiful-dnd
are you running?12
What browser are you using?
Chrome
Demo
https://codesandbox.io/s/react-beautiful-dnd-ndjwl