vaadin / vaadin/framework

GridRowDragger don't support ordering lists with duplicates

Open
#11,170 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
1.8k
Forks
717
Avg merge
2d 6h
Merged PRs (30d)
3

Description

Currently if you use GridRowDragger to sort a list with duplicates, the duplicate disappears when doing re-ordering.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the GridRowDragger component and reproduce reordering a list containing duplicate values. Trace what happens to the duplicate during the reorder operation, then verify that all list entries remain present after reordering. The issue does not mention a source file or test, so locating the relevant implementation and regression coverage is part of the work.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.