- LaneDrag / DragEnd, fixed to support Virtual Lists.
Signed-off-by: Dave Richer <dave@imexsystems.ca>
This commit is contained in:
@@ -95,7 +95,8 @@ const BoardContainer = ({
|
||||
fromLaneId: event.fromLaneId,
|
||||
toLaneId: event.toLaneId,
|
||||
cardId: event.cardId,
|
||||
index: event.index
|
||||
index: event.index,
|
||||
event
|
||||
})
|
||||
);
|
||||
case "UPDATE_CARDS":
|
||||
@@ -239,8 +240,8 @@ const BoardContainer = ({
|
||||
if (!type || type !== "lane" || !source || !destination) return;
|
||||
dispatch(
|
||||
actions.moveCardAcrossLanes({
|
||||
fromLaneId: Number.parseInt(source.droppableId),
|
||||
toLaneId: Number.parseInt(destination.droppableId),
|
||||
fromLaneId: source.droppableId,
|
||||
toLaneId: destination.droppableId,
|
||||
cardId: draggableId,
|
||||
index: destination.index
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user