Skip to content

fix(deps): update dependency sh.calvin.reorderable:reorderable to v3#1081

Merged
flex3r merged 2 commits intodevelopfrom
renovate/major-reorderable
Apr 11, 2026
Merged

fix(deps): update dependency sh.calvin.reorderable:reorderable to v3#1081
flex3r merged 2 commits intodevelopfrom
renovate/major-reorderable

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Apr 11, 2026

This PR contains the following updates:

Package Change Age Confidence
sh.calvin.reorderable:reorderable 2.4.33.0.0 age confidence

Release Notes

Calvin-LL/Reorderable (sh.calvin.reorderable:reorderable)

v3.0.0

Thank you @​vipulm7 for PR #​95

BREAKING CHANGES

ReorderableItem now required in ReorderableColumn and ReorderableRow

needed this to solve #​94

ReorderableColumn(
    list = list,
    onSettle = { fromIndex, toIndex ->
        // Update the list
    },
) { index, item, isDragging ->
    key(item.id) {
        // !!! NEW !!!
        ReorderableItem {
            // Item content

            IconButton(modifier = Modifier.draggableHandle(), /* ... */)
        }
    }
}

New default auto scroll item move behavior in grids

onMove is now called with the item below the dragging item instead of the last visible item when auto scrolling.

To revert to the old behavior, pass scrollMoveMode = ScrollMoveMode.INSERT to rememberReorderableLazy*GridState

For onMove to work as the video below,

change

list = list.toMutableList().apply {
    add(to.index, removeAt(from.index))
}

to

list = list.toMutableList().apply {
    this[to.index] = this[from.index].also {
        this[from.index] = this[to.index]
    }
}
NEW old
A video showing an item being reordered in a LazyGrid with ScrollMoveMode.INSERT A video showing an item being reordered in a LazyGrid with ScrollMoveMode.SWAP

v2.5.1

  • fix onMove being called after onDragStopped #​85

v2.5.0


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@flex3r flex3r enabled auto-merge April 11, 2026 17:47
@renovate
Copy link
Copy Markdown
Contributor Author

renovate bot commented Apr 11, 2026

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@flex3r flex3r merged commit d3275cf into develop Apr 11, 2026
4 checks passed
@renovate renovate bot deleted the renovate/major-reorderable branch April 11, 2026 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant