Skip to content

CardView: reorder columns by the drop position, not the previous drag move - #36151

Merged
EugeniyKiyashko merged 2 commits into
DevExpress:25_2from
EugeniyKiyashko:cardview-column-reorder-stale-neighbors_25_2
Nov 5, 2026
Merged

EugeniyKiyashko merged 2 commits into
DevExpress:25_2from
EugeniyKiyashko:cardview-column-reorder-stale-neighbors_25_2

Conversation

@EugeniyKiyashko

Copy link
Copy Markdown
Contributor

No description provided.

… move

onDragMove runs before Sortable updates toIndex, so the neighbor columns stored
there could lag one move behind. When the move that reached the new position
was the last one before the drop, the column stayed where it was. The drop
handler now takes the neighbors from the drop index.
…column

The drag status comes from the last drag move, which can still see the old
neighbors. A drop between two columns that cannot be reordered is now skipped
as it is during the drag.
@EugeniyKiyashko
EugeniyKiyashko merged commit d81a22f into DevExpress:25_2 Nov 5, 2026
96 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants