vaadin / vaadin/framework

Page starts scrolling when grid scrolling reaches end of grid

Open
#12,345 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Hello!

Vaadin page/grid vertical scrolling seems to behave differentially with vaadin 8 and vaadin 7 compatibility packages.

In my test bench I have a vertical layout that has first a grid with vertical scroll bar and below that a few tenths of label lines so that I get a scroll bar to the page. In the test I scroll down with mouse wheel on the grid.

With vaadin 8, after end of grid is reached, page continues to scroll down. With vaadin 7 compatibility packages, after end of grid is reached, page is not scrolled down.

Is there an option in vaadin 8 grid not to continue scrolling the page when scrolling the grid reaches the end of the grid?

Cheers!

I tested this with Vaadin 8.13.2 jetty sample application + a little code to generate the grid and labels.
(originally saw this with Liferay 7.x & Vaadin 8.x)

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 behavior in the Vaadin 8.13.2 Jetty sample application with the described vertical layout, scrollable Grid, and labels. Compare scrolling at the grid's end with the Vaadin 7 compatibility packages; done means the intended page-scroll behavior is established and verified with a regression check.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.