Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 19, 2025

⚠️ Dependabot is rebasing this PR ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.


Bumps sh.calvin.reorderable:reorderable from 2.5.1 to 3.0.0.

Release notes

Sourced from sh.calvin.reorderable:reorderable's releases.

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]
    }
</tr></table> 

... (truncated)

Commits
  • 198f6ec bump version to 3.0.0
  • a585b83 update
  • 3836c1e change grid examples from insert to swap
  • d38d00f add ReorderableItem to examples
  • 31cb05e add ReorderableItem to ReorderableColumn and ReorderableRow
  • 311c165 Change default move behavior on overscroll from insert to swap (#95)
  • eec0688 remove unused imports
  • 4b12dae update readme
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Aug 19, 2025
Bumps [sh.calvin.reorderable:reorderable](https://github.com/Calvin-LL/Reorderable) from 2.5.1 to 3.0.0.
- [Release notes](https://github.com/Calvin-LL/Reorderable/releases)
- [Commits](Calvin-LL/Reorderable@v2.5.1...v3.0.0)

---
updated-dependencies:
- dependency-name: sh.calvin.reorderable:reorderable
  dependency-version: 3.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/gradle/sh.calvin.reorderable-reorderable-3.0.0 branch from 55efd8a to 71fc247 Compare August 21, 2025 18:41
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 21, 2025

Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting @dependabot rebase.

@patrickunterwegs
Copy link
Member

@dependabot rebase

@patrickunterwegs patrickunterwegs added this to the 2.12.2 milestone Aug 22, 2025
@patrickunterwegs patrickunterwegs merged commit d39b027 into develop Aug 22, 2025
1 check passed
@dependabot dependabot bot deleted the dependabot/gradle/sh.calvin.reorderable-reorderable-3.0.0 branch August 22, 2025 00:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update Java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants