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
When you use the type prop on Droppables and Draggables, I expect only Draggables of the same type to be droppable. But instead, the type of the draggable is not correctly considered
Actual behavior
When dropping a draggable of type B to a droppable of type A, the type of the draggable is shown as A and the drop is accepted
I found out that Draggables automatically inherit their type from the Droppable they are placed in. Therefore, my concept was bad and no fix is necessary
Expected behavior
When you use the type prop on Droppables and Draggables, I expect only Draggables of the same type to be droppable. But instead, the type of the draggable is not correctly considered
Actual behavior
When dropping a draggable of type B to a droppable of type A, the type of the draggable is shown as A and the drop is accepted
Steps to reproduce
Please see this stackblitz
What version of
React
are you using?^18.2.0
What version of
react-beautiful-dnd
are you running?^13.1.1
What browser are you using?
Firefox latest
The text was updated successfully, but these errors were encountered: