mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-19 18:29:23 +00:00
disable sort within a single group (#7389)
Co-authored-by: zhouwenxuan <aries@Mac.local>
This commit is contained in:
@@ -75,7 +75,7 @@ const Board = ({
|
|||||||
onDrop={e => onDragEnd(boardIndex, e)}
|
onDrop={e => onDragEnd(boardIndex, e)}
|
||||||
onDragEnter={() => setDraggingOver(true)}
|
onDragEnter={() => setDraggingOver(true)}
|
||||||
onDragLeave={() => setDraggingOver(false)}
|
onDragLeave={() => setDraggingOver(false)}
|
||||||
shouldAcceptDrop={() => true}
|
shouldAcceptDrop={(sourceContainer) => sourceContainer.groupName !== boardName}
|
||||||
getChildPayload={(cardIndex) => ({ boardIndex, cardIndex })}
|
getChildPayload={(cardIndex) => ({ boardIndex, cardIndex })}
|
||||||
dropPlaceholder={{
|
dropPlaceholder={{
|
||||||
animationDuration: 300,
|
animationDuration: 300,
|
||||||
|
Reference in New Issue
Block a user