Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -824,11 +824,11 @@ use the `hover*Style` props).
```

The list's `onDragEnd` also fires for foreign drops, with `item`
undefined — guard on `item`. Without `onExternalDrop`, a foreign drag does
not auto-scroll the list; with it, the list auto-scrolls so any index is
reachable. Either way a foreign drag does not fire `onDragPositionChange`
or show the drop indicator. Board columns still react to items from other
columns of the same board.
undefined — guard on `item`. A foreign drag auto-scrolls the list by
default (with or without `onExternalDrop`); set
`autoScrollForeignDrags={false}` to opt out. A foreign drag never fires
`onDragPositionChange` or shows the drop indicator. Board
columns still react to items from other columns of the same board.
- **Row payloads.** `SortableItem` spreads your `payload` (only if it is an
object) and then sets `index`, `originalIndex` and `item` on top. A
non-object `payload` on a row is dropped, and your own `index`,
Expand Down
Loading