diff options
author | Markus Koivisto <markus@vaadin.com> | 2016-04-05 11:33:28 +0300 |
---|---|---|
committer | Teemu Suo-Anttila <teemusa@vaadin.com> | 2016-04-05 15:04:24 +0300 |
commit | 4bce5d542c79bc914eb28be3d06678962bc5b744 (patch) | |
tree | 7829b108c761d9be02ea2cff83817a70f90300ed /client/src/com | |
parent | 8c0733d75692a638a5c5a2bece7eaa8b335176f8 (diff) | |
download | vaadin-framework-4bce5d542c79bc914eb28be3d06678962bc5b744.tar.gz vaadin-framework-4bce5d542c79bc914eb28be3d06678962bc5b744.zip |
Fix Escalator BodyContainer logical top row tracking (#17262)
Change-Id: I43041999cba9429e3a08b09f14ac2e8f58774285
Diffstat (limited to 'client/src/com')
-rw-r--r-- | client/src/com/vaadin/client/widgets/Escalator.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/client/src/com/vaadin/client/widgets/Escalator.java b/client/src/com/vaadin/client/widgets/Escalator.java index 3585be1d60..29b7eb6d53 100644 --- a/client/src/com/vaadin/client/widgets/Escalator.java +++ b/client/src/com/vaadin/client/widgets/Escalator.java @@ -3105,6 +3105,15 @@ public class Escalator extends Widget implements RequiresResize, logicalTargetIndex); /* + * moveAndUpdateEscalatorRows recalculates the rows, but + * logical top row index bookkeeping is handled in this + * method. + * + * TODO: Redesign how to keep it easy to track this. + */ + updateTopRowLogicalIndex(-removedLogicalInside.length()); + + /* * Scrolling the body to the correct location will be * fixed automatically. Because the amount of rows is * decreased, the viewport is pushed up as the scrollbar |