summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/src/com/vaadin/client/widgets/Escalator.java9
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