vaadin / vaadin/framework

Grid does not scroll vertically when dragging rows near the top or the bottom of the grid

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

Nobody has claimed this yet.

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

Description

When a drag is in progress and the user drags the mouse cursor to the top or bottom of the Grid, the grid should start to automatically scroll.

actually nothing happens.

if I have a grid with 100 rows, of which I only see let's say 20, I can't drag the first row to the end of the grid with one single drag and drop movement

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 by reproducing the issue with a grid containing 100 rows while viewing only about 20, then inspect the row-drag behavior in the Vaadin framework code. The work is done when dragging a row to the top or bottom automatically scrolls the grid so the row can be moved to an off-screen position in one drag.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.